photo26/docker-compose.yml
krek0 997fd760d2
All checks were successful
Docker / build (release) Successful in 9s
fix oauth
2026-05-17 06:36:48 +02:00

33 lines
655 B
YAML

version: "3.9"
networks:
photo26:
services:
db:
image: postgres:16
container_name: photo26-db
restart: unless-stopped
env_file: .env
environment:
POSTGRES_DB: ${DB_NAME:-photo26}
POSTGRES_USER: ${DB_USER:-photo26}
POSTGRES_PASSWORD: ${DB_PASSWORD}
volumes:
- ./postgres_data:/var/lib/postgresql/data
networks:
- photo26
photo26:
image: git.sinfonie.org/sinfonie/photo26:latest
container_name: photo26-app
restart: unless-stopped
depends_on:
- db
env_file: .env
volumes:
- ./media:/app/media
ports:
- "8080:8000"
networks:
- photo26