Move env into run for clarity

This commit is contained in:
Viktor Lofgren 2023-03-04 14:24:38 +01:00
parent b4051c35e1
commit 7259c65052
3 changed files with 2 additions and 7 deletions

View File

@ -1,6 +1,6 @@
x-svc: &service
env_file:
- "env/service.env"
- "run/env/service.env"
volumes:
- vol:/vol
- conf:/wmsa/conf:ro
@ -73,7 +73,7 @@ services:
mariadb:
image: "mariadb/server:10.3"
container_name: "mariadb"
env_file: "env/mariadb.env"
env_file: "run/env/mariadb.env"
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
ports:
- "127.0.0.1:3306:3306/tcp"

4
env/mariadb.env vendored
View File

@ -1,4 +0,0 @@
MARIADB_RANDOM_ROOT_PASSWORD=1
MARIADB_DATABASE=WMSA_prod
MARIADB_USER=wmsa
MARIADB_PASSWORD=wmsa

1
env/service.env vendored
View File

@ -1 +0,0 @@
WMSA_HOME=/home/vlofgren/Code/wmsa.local