Move DB connection vars to compose file

This commit is contained in:
Maciej Pędzich 2024-07-27 17:41:46 +02:00
parent 56bf447884
commit e857e94a71
Signed by: maciejpedzich
GPG Key ID: CE4A303D84882F0D

View File

@ -21,7 +21,10 @@ services:
- public - public
- private - private
restart: unless-stopped restart: unless-stopped
env_file: .env environment:
DB_URI: $DB_URI
DB_USERNAME: $DB_USERNAME
DB_PASSWORD: $DB_PASSWORD
depends_on: depends_on:
- db - db
db: db: