Some checks failed
Build and Deploy API / build-and-deploy (push) Failing after 7s
20 lines
534 B
YAML
20 lines
534 B
YAML
|
|
version: "3.9"
|
|
|
|
services:
|
|
agologum-api:
|
|
image: git.vxbard.net/homeburger/agologum-api:latest
|
|
container_name: agologum-api
|
|
restart: always
|
|
environment:
|
|
ConnectionStrings__DefaultConnection: Host=agologum-db;Port=5432;Database=agologum;Username=agologum;Password=${POSTGRES_PASSWORD}
|
|
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:
|
|
external: true |