fix(docker): standardize env file config for dev compose
Use dev.env as default environment file for development stack, add ENV_FILE override support to both defined services.
This commit is contained in:
1 parent
1ea79aa8bb
commit
32c9872f78
1 file changed
+2
-2
@@ -10,7 +10,7 @@ services:
|
||||
- XDG_RUNTIME_DIR=${LVA_XDG_RUNTIME_DIR:-/run/user/1000}
|
||||
- PULSE_SERVER=${LVA_PULSE_SERVER:-/run/user/1000/pulse/native}
|
||||
- PULSE_COOKIE=${LVA_PULSE_COOKIE:-/run/user/1000/pulse/cookie}
|
||||
env_file: ${ENV_FILE:-.env}
|
||||
env_file: ${ENV_FILE:-dev.env}
|
||||
group_add:
|
||||
- audio
|
||||
volumes:
|
||||
@@ -33,7 +33,7 @@ services:
|
||||
- XDG_RUNTIME_DIR=${LVA_XDG_RUNTIME_DIR:-/run/user/1000}
|
||||
- PULSE_SERVER=${LVA_PULSE_SERVER:-/run/user/1000/pulse/native}
|
||||
- PULSE_COOKIE=${LVA_PULSE_COOKIE:-/run/user/1000/pulse/cookie}
|
||||
env_file: .env
|
||||
env_file: ${ENV_FILE:-dev.env}
|
||||
group_add:
|
||||
- audio
|
||||
# Priority for audio process
|
||||
|
||||
Reference in new issue
Block a user