podman-seafile : simplification .env
This commit is contained in:
parent
9abdce504e
commit
1f083de57f
|
@ -40,7 +40,7 @@ if ! podman image exists ${seafile_image}:${seafile_release}; then
|
|||
fi
|
||||
podman pull docker.io/library/memcached:${memcached_release} &&
|
||||
podman pull docker.io/library/mariadb:${mariadb_release} &&
|
||||
podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra " up -d &&
|
||||
podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d &&
|
||||
echo -n "Waiting for seahub_settings.py " &&
|
||||
while [ ! -e `get_podman_volume_path ${datavolume}`/seafile/conf/seahub_settings.py ]; do
|
||||
echo -n "."
|
||||
|
|
|
@ -5,8 +5,6 @@ services:
|
|||
container_name: seafile-db
|
||||
environment:
|
||||
- MYSQL_LOG_CONSOLE=true
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- seafile-db:/var/lib/mysql:Z
|
||||
|
||||
|
@ -26,8 +24,6 @@ services:
|
|||
- DB_HOST=db
|
||||
- TIME_ZONE=Europe/Paris
|
||||
- SEAFILE_SERVER_LETSENCRYPT=false
|
||||
env_file:
|
||||
- .env
|
||||
depends_on:
|
||||
- db
|
||||
- memcached
|
||||
|
|
Loading…
Reference in a new issue