feat: add env_file configuration for Seafile services in Docker Compose
This commit is contained in:
parent
bea77808d9
commit
2d0d8e2dc6
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user