This commit is contained in:
@@ -7,13 +7,12 @@ services:
|
||||
container_name: agologum-api
|
||||
restart: always
|
||||
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:
|
||||
- "5000:5000"
|
||||
networks:
|
||||
- agologum-net
|
||||
environment:
|
||||
- Jwt__Key=${JWT_SECRET} # this seems to be the right way to pass env variables with secrets
|
||||
|
||||
networks:
|
||||
agologum-net:
|
||||
|
||||
Reference in New Issue
Block a user