seperate dotenv file for docker overrides

pull/4/head
Cameron Clough 2022-03-23 15:13:44 +00:00
parent 4c425445f0
commit 75a8ed3e1b
No known key found for this signature in database
GPG Key ID: BFB3B74B026ED43F
3 changed files with 6 additions and 5 deletions

View File

@ -0,0 +1,2 @@
DB_HOST=db
STORAGE_PATH=/realdata

3
.gitignore vendored
View File

@ -14,7 +14,8 @@ database
# Miscellaneous # Miscellaneous
.DS_Store .DS_Store
*.log *.log
.env .env*
!.env*.sample
# Build # Build
dist dist

View File

@ -12,8 +12,7 @@ services:
- "4040:4040" - "4040:4040"
env_file: env_file:
- .env - .env
environment: - .env.docker
- STORAGE_PATH=/realdata
worker: worker:
build: . build: .
command: npm run worker command: npm run worker
@ -24,8 +23,7 @@ services:
- retropilot-realdata:/realdata - retropilot-realdata:/realdata
env_file: env_file:
- .env - .env
environment: - .env.docker
- STORAGE_PATH=/realdata
db: db:
image: postgres:14-bullseye image: postgres:14-bullseye
restart: always restart: always