Dockerfile links$ docker run --name typecho-server -e TYPECHO_SITE_URL=https://your-domain.com -d joyqi/typecho:nightly-php7.4-apache
TIMEZONEdefault: UTC
Server timezone, eg: Asia/Shanghai
MEMORY_LIMITPHP memory limit, eg: 100M
MAX_POST_BODYeg: 50M
TYPECHO_INSTALLdefault: 0
Set to 1 if you want to run installation script automatically.
TYPECHO_DB_ADAPTERdefault: Pdo_Mysql
Database driver for typecho, could be: Pdo_Mysql, Pdo_SQLite, Pdo_Pgsql, Mysqli, SQLite, Pgsql.
TYPECHO_DB_HOSTdefault: localhost
Database server host, only available for mysql and pgsql drivers.
TYPECHO_DB_PORTdefault: 3306(for mysql) or 5432(for pgsql)
Database server port, only available for mysql and pgsql drivers.
TYPECHO_DB_USER* required for mysql and pgsql drivers
Database username, only available for mysql and pgsql drivers.
TYPECHO_DB_PASSWORD* required for mysql and pgsql drivers
Database password, only available for mysql and pgsql drivers.
TYPECHO_DB_FILE* required for sqlite driver
Database file storage path, only available for sqlite driver.
TYPECHO_DB_DATABASE* required for mysql and pgsql drivers
Database name of typecho, only available for mysql and pgsql drivers.
TYPECHO_DB_PREFIXdefault: typecho_
The prefix of all tables.
TYPECHO_DB_ENGINEdefault: InnoDB
Mysql database engine, only available for mysql driver.
TYPECHO_DB_CHARSETdefault: utf8(for pgsql) or utf8mb4(for mysql)
Database charset, only available for mysql and pgsql drivers.
TYPECHO_DB_NEXTdefault: none
The action to perform when there are already having some application tables in database.
none: Do nothing, just exit.keep: Keep these tables, and skip the init step.force: Delete these tables, and init data again.TYPECHO_SITE_URL* required
Your website url, for example: https://your-domain.com
TYPECHO_USER_NAMEdefault: typecho
The admin username to create.
TYPECHO_USER_PASSWORDdefault: a random 8 characters string.
The admin password to create.
TYPECHO_USER_MAILdefault: [email protected]
The email address of admin to create.
You can expose fastcgi port 9000 for those image tags who have suffix with *-fpm.
$ docker run --name typecho-server -p 9000:9000 -e TYPECHO_SITE_URL=https://your-domain.com -d joyqi/typecho:nightly-php7.4-fpm
You can expose http port 80 for those image tags who have suffix with *-apache.
$ docker run --name typecho-server -p 8080:80 -e TYPECHO_SITE_URL=https://your-domain.com -d joyqi/typecho:nightly-php7.4-apache
$ docker run --name typecho-server -v /var/typecho:/app/usr -e TYPECHO_SITE_URL=https://your-domain.com -d joyqi/typecho:nightly-php7.4
Content type
Image
Digest
sha256:657d44a8b…
Size
136.7 MB
Last updated
3 months ago
docker pull joyqi/typecho:nightly-php8.2-apache