Files
infra/stacks/sql/compose.yml

23 lines
508 B
YAML
Raw Normal View History

# sql — single point of config DB (cloud only)
# Networks: data (no internet egress)
# TBD: postgres / mariadb / mysql — stub uses postgres pending decision
services:
sql:
image: postgres:16-alpine
restart: unless-stopped
networks: [data]
environment:
POSTGRES_DB: ${SQL_DB}
POSTGRES_USER: ${SQL_USER}
POSTGRES_PASSWORD: ${SQL_PASSWORD}
TZ: ${TZ:-Europe/Amsterdam}
volumes:
- sql-data:/var/lib/postgresql/data
networks:
data:
volumes:
sql-data: