podman-framadate : simplification .env

This commit is contained in:
Gitouche 2022-11-20 10:55:59 +01:00
parent 1f083de57f
commit 85ba8275f0
2 changed files with 1 additions and 5 deletions

View file

@ -37,7 +37,7 @@ fi
podman pull docker.io/library/php:7-apache &&
podman pull docker.io/library/mysql:5.7 &&
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 initialization to end... " &&
( podman logs -f framadate-app 2>&1 & ) | grep -q 'configured -- resuming normal operations' &&
echo "OK" &&

View file

@ -6,8 +6,6 @@ services:
environment:
- MYSQL_USER=framadate
- MYSQL_DATABASE=framadate
env_file:
- .env
restart: always
volumes:
- framadate-db:/var/lib/mysql:Z
@ -28,8 +26,6 @@ services:
- ADMIN_USER=admin
- APACHE_RUN_USER=www-data
- FRAMADATE_DEVMODE=1
env_file:
- .env
restart: always
volumes: