Files
docupulse/docker-compose.yml
2025-05-26 16:13:44 +02:00

32 lines
575 B
YAML

version: '3.8'
services:
web:
build: .
ports:
- "10335:5000"
volumes:
- ./uploads:/app/uploads
env_file:
- stack.env
depends_on:
db:
condition: service_healthy
db:
image: postgres:13
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=1253
- POSTGRES_DB=docupulse
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
volumes:
postgres_data:
uploads: