generated from bisco/codex-bootstrap
feat: use host bind mounts for persistent data
This commit is contained in:
@@ -22,3 +22,18 @@ LETSENCRYPT_STAGING=1
|
||||
LETSENCRYPT_RENEW_INTERVAL_SECONDS=43200
|
||||
LETSENCRYPT_RETRY_SECONDS=300
|
||||
TLS_RELOAD_INTERVAL_SECONDS=30
|
||||
|
||||
# Host-based persistent volumes. Relative paths are resolved from the project root.
|
||||
DB_DATA_PATH=./runtime/db
|
||||
WORDPRESS_DATA_PATH=./runtime/wordpress
|
||||
LETSENCRYPT_DATA_PATH=./runtime/letsencrypt
|
||||
CERTBOT_CHALLENGES_PATH=./runtime/certbot/www
|
||||
|
||||
# Expected container owners for host-based volumes.
|
||||
# MariaDB's official image normally uses mysql 999:999; WordPress uses www-data 33:33.
|
||||
MARIADB_VOLUME_UID=999
|
||||
MARIADB_VOLUME_GID=999
|
||||
WORDPRESS_VOLUME_UID=33
|
||||
WORDPRESS_VOLUME_GID=33
|
||||
CERTBOT_VOLUME_UID=0
|
||||
CERTBOT_VOLUME_GID=0
|
||||
|
||||
Reference in New Issue
Block a user