stop using env file in docker-compose
This commit is contained in:
+15
-5
@@ -4,17 +4,27 @@ services:
|
||||
volumes:
|
||||
- dbdata:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
- 5432:5432
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
|
||||
web:
|
||||
build: .
|
||||
image: registry.gitlab.com/sahkoinsinoorikilta/vtmk/web2.0-backend
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- DEPLOY_ENV=local
|
||||
- HOST=localhost
|
||||
- DEBUG=True
|
||||
- SECRET_KEY=7p$85^4ibb^p4-=vs44b7!y0e-zemugze18@a#30&71=a8)dp(
|
||||
- DB_NAME=postgres
|
||||
- DB_USER=postgres
|
||||
- DB_PASSWD=postgres
|
||||
- DB_HOST=db
|
||||
- DB_PORT=5432
|
||||
- EMAIL_API_KEY=
|
||||
- GROUP_KEY=
|
||||
- GOOGLE_CREDS='{}'
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- 8000:8000
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
|
||||
Reference in New Issue
Block a user