accounts/deploy/nerdctl-compose.yml
2025-07-25 09:52:07 +08:00

21 lines
457 B
YAML

version: "3"
services:
postgres:
image: postgres:16
environment:
POSTGRES_DB: xcontrol
POSTGRES_USER: xcontrol
POSTGRES_PASSWORD: xcontrol
volumes:
- pgdata:/var/lib/postgresql/data
xcontrol:
image: ghcr.io/example/xcontrol:latest
environment:
KB_DSN: postgres://xcontrol:xcontrol@postgres:5432/xcontrol?sslmode=disable
ports:
- "8080:8080"
depends_on:
- postgres
volumes:
pgdata: