Files
patchpass/docker-compose.yml
Space-Banane 7e05dd918c
Deploy / Build (push) Successful in 28s
Deploy / Test & Lint (push) Failing after 29s
Deploy / Build and Push Docker Image (push) Has been skipped
Patchpass V1
2026-07-18 20:14:44 +02:00

36 lines
868 B
YAML

services:
backend:
image: registry.reversed.dev/patchpass/core:latest
pull_policy: always
restart: always
env_file:
- .env
ports:
- "${PORT:-5000}:${PORT:-5000}"
environment:
- NODE_ENV=production
- TZ=Europe/Berlin
depends_on:
database:
condition: service_healthy
# PostgreSQL database. Point your .env DATABASE_URL at 'db' as the host, e.g.
# DATABASE_URL=postgresql://patchpass:patchpass@db:5432/patchpass
database:
image: postgres:16-alpine
restart: always
environment:
POSTGRES_USER: patchpass
POSTGRES_PASSWORD: patchpass
POSTGRES_DB: patchpass
volumes:
- patchpass_db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U patchpass"]
interval: 10s
timeout: 5s
retries: 5
volumes:
patchpass_db: