This commit is contained in:
@@ -7,13 +7,12 @@ services:
|
|||||||
container_name: agologum-api
|
container_name: agologum-api
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
ConnectionStrings__DefaultConnection: Host=agologum-db;Port=5432;Database=agologum;Username=agologum;Password=${POSTGRES_PASSWORD}
|
- ConnectionStrings__DefaultConnection: Host=agologum-db;Port=5432;Database=agologum;Username=agologum;Password=${POSTGRES_PASSWORD}
|
||||||
|
- Jwt__Key: ${JWT_SECRET}
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
networks:
|
networks:
|
||||||
- agologum-net
|
- agologum-net
|
||||||
environment:
|
|
||||||
- Jwt__Key=${JWT_SECRET} # this seems to be the right way to pass env variables with secrets
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
agologum-net:
|
agologum-net:
|
||||||
|
|||||||
Reference in New Issue
Block a user