All is in .env
This commit is contained in:
@@ -17,13 +17,13 @@ services:
|
||||
context: .
|
||||
dockerfile: ./backend/GiecChallenge/Dockerfile
|
||||
environment:
|
||||
- ConnectionStrings__PostgreSQL=host=giecchallenge_db;User ID=maxime;Password=<POSTGREDB_PASSWORD>;Port=14432;Database=GiecChallenge;Pooling=true;
|
||||
- JWT__ValidAudience=https://giecchallenge-backend.maximeboulay.com
|
||||
- JWT__ValidIssuer=https://giecchallenge-backend.maximeboulay.com
|
||||
- JWT__Secret=<JWT__Secret>
|
||||
- PasswordHash=<HASH>
|
||||
- ConnectionStrings__PostgreSQL=${ConnectionStrings__PostgreSQL}
|
||||
- JWT__ValidAudience=${JWT__ValidAudience}
|
||||
- JWT__ValidIssuer=${JWT__ValidIssuer}
|
||||
- JWT__Secret=${JWT__Secret}
|
||||
- PasswordHash=${PasswordHash}
|
||||
- AllowedHosts=*
|
||||
- OriginAllowed=https://giecchallenge.maximeboulay.com
|
||||
- OriginAllowed=${OriginAllowed}
|
||||
networks:
|
||||
- dev
|
||||
|
||||
@@ -40,7 +40,7 @@ services:
|
||||
context: .
|
||||
dockerfile: ./frontend/Dockerfile
|
||||
args:
|
||||
REACT_APP_API_URL: https://giecchallenge-backend.maximeboulay.com
|
||||
REACT_APP_API_URL: ${REACT_APP_API_URL}
|
||||
environment:
|
||||
- API_URL
|
||||
networks:
|
||||
@@ -50,8 +50,8 @@ services:
|
||||
image: postgres:latest
|
||||
container_name: giecchallenge_db
|
||||
environment:
|
||||
- POSTGRES_USER=maxime
|
||||
- POSTGRES_PASSWORD=<POSTGREDB_PASSWORD>
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_DB=GiecChallenge
|
||||
expose:
|
||||
- "14432"
|
||||
|
||||
Reference in New Issue
Block a user