Files
agologum/api/docker-compose.prod.yaml
Blitblank eb0a2e9d1d
All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 8s
add extra hosts (can probably revert later)
2026-04-23 20:31:13 -05:00

21 lines
565 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}
Jwt__Key: ${JWT_SECRET} # must export the secret as a variable in the ci script
ports:
- "5000:5000"
networks:
- agologum-net
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
agologum-net:
external: true