feat: add env_file configuration for Seafile services in Docker Compose
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 16s
Nix Format Check / check-format (push) Successful in 57s
Python Lint Check / check-python (push) Failing after 13s

This commit is contained in:
Menno van Leeuwen 2025-03-17 14:07:45 +01:00
parent bea77808d9
commit 2d0d8e2dc6
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -7,6 +7,8 @@ services:
- MYSQL_LOG_CONSOLE=true - MYSQL_LOG_CONSOLE=true
volumes: volumes:
- ${SEAFILE_MYSQL_VOLUME}:/var/lib/mysql - ${SEAFILE_MYSQL_VOLUME}:/var/lib/mysql
env_file:
- {{seafile_service_dir }}/.env
networks: networks:
- seafile-net - seafile-net
restart: unless-stopped restart: unless-stopped
@ -55,6 +57,8 @@ services:
- DB_HOST=${SEAFILE_MYSQL_DB_HOST} - DB_HOST=${SEAFILE_MYSQL_DB_HOST}
- DB_ROOT_PASSWD=${INIT_SEAFILE_MYSQL_ROOT_PASSWORD} - DB_ROOT_PASSWD=${INIT_SEAFILE_MYSQL_ROOT_PASSWORD}
- TIME_ZONE=${TIME_ZONE} - TIME_ZONE=${TIME_ZONE}
env_file:
- {{seafile_service_dir }}/.env
volumes: volumes:
- ${NOTIFICATION_SERVER_VOLUME}:/shared - ${NOTIFICATION_SERVER_VOLUME}:/shared
- ${SEAFILE_VOLUME}:/shared/seafile - ${SEAFILE_VOLUME}:/shared/seafile
@ -77,6 +81,8 @@ services:
volumes: volumes:
- ${SEADOC_VOLUME}:/shared - ${SEADOC_VOLUME}:/shared
- ${SEAFILE_VOLUME}:/shared/seafile - ${SEAFILE_VOLUME}:/shared/seafile
env_file:
- {{seafile_service_dir }}/.env
networks: networks:
- seafile-net - seafile-net
- caddy_network - caddy_network