fix(docker): supply AUR_CONFIG_IMMUTABLE for docker-compose

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-11-27 18:57:08 -08:00
parent 5b350bc361
commit 84beacd427
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -72,6 +72,8 @@ services:
mariadb_init: mariadb_init:
image: aurweb:latest image: aurweb:latest
init: true init: true
environment:
- AUR_CONFIG_IMMUTABLE=${AUR_CONFIG_IMMUTABLE:-0}
entrypoint: /docker/mariadb-init-entrypoint.sh entrypoint: /docker/mariadb-init-entrypoint.sh
command: echo "MariaDB tables initialized." command: echo "MariaDB tables initialized."
volumes: volumes:
@ -104,6 +106,7 @@ services:
environment: environment:
- AUR_CONFIG=/aurweb/conf/config - AUR_CONFIG=/aurweb/conf/config
- SSH_CMDLINE=${SSH_CMDLINE:-ssh ssh://aur@localhost:2222} - SSH_CMDLINE=${SSH_CMDLINE:-ssh ssh://aur@localhost:2222}
- AUR_CONFIG_IMMUTABLE=${AUR_CONFIG_IMMUTABLE:-0}
entrypoint: /docker/git-entrypoint.sh entrypoint: /docker/git-entrypoint.sh
command: /docker/scripts/run-sshd.sh command: /docker/scripts/run-sshd.sh
ports: ports:
@ -190,6 +193,7 @@ services:
- AUR_CONFIG=/aurweb/conf/config - AUR_CONFIG=/aurweb/conf/config
- AURWEB_PHP_PREFIX=${AURWEB_PHP_PREFIX} - AURWEB_PHP_PREFIX=${AURWEB_PHP_PREFIX}
- AURWEB_SSHD_PREFIX=${AURWEB_SSHD_PREFIX} - AURWEB_SSHD_PREFIX=${AURWEB_SSHD_PREFIX}
- AUR_CONFIG_IMMUTABLE=${AUR_CONFIG_IMMUTABLE:-0}
entrypoint: /docker/php-entrypoint.sh entrypoint: /docker/php-entrypoint.sh
command: /docker/scripts/run-php.sh command: /docker/scripts/run-php.sh
healthcheck: healthcheck:
@ -220,6 +224,7 @@ services:
- AURWEB_FASTAPI_PREFIX=${AURWEB_FASTAPI_PREFIX} - AURWEB_FASTAPI_PREFIX=${AURWEB_FASTAPI_PREFIX}
- AURWEB_SSHD_PREFIX=${AURWEB_SSHD_PREFIX} - AURWEB_SSHD_PREFIX=${AURWEB_SSHD_PREFIX}
- PROMETHEUS_MULTIPROC_DIR=/tmp_prometheus - PROMETHEUS_MULTIPROC_DIR=/tmp_prometheus
- AUR_CONFIG_IMMUTABLE=${AUR_CONFIG_IMMUTABLE:-0}
entrypoint: /docker/fastapi-entrypoint.sh entrypoint: /docker/fastapi-entrypoint.sh
command: /docker/scripts/run-fastapi.sh "${FASTAPI_BACKEND}" command: /docker/scripts/run-fastapi.sh "${FASTAPI_BACKEND}"
healthcheck: healthcheck: