Files
flatrender/services/notification/docker-compose.yml
T

28 lines
636 B
YAML
Raw Normal View History

services:
notification-svc:
build: .
ports:
- "5015:8080"
environment:
DATABASE_URL: "postgres://postgres:postgres@postgres:5432/flatrender?search_path=notification,public"
JWT_SECRET: "${JWT_SECRET}"
SERVICE_TOKEN: "${SERVICE_TOKEN:-internal-service-secret}"
PORT: "8080"
depends_on:
- postgres
restart: unless-stopped
postgres:
image: postgres:16-alpine
environment:
POSTGRES_DB: flatrender
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- "5432:5432"
volumes:
pgdata: