Files
WYGIWYH/docker-compose.prod.yml
2025-11-09 15:42:42 -03:00

24 lines
544 B
YAML

services:
web:
image: eitchtee/wygiwyh:latest
container_name: ${SERVER_NAME}
command: /start-single
ports:
- "${OUTBOUND_PORT:-8000}:${INTERNAL_PORT:-8000}"
env_file:
- .env
depends_on:
- db
restart: unless-stopped
db:
image: postgres:15
container_name: ${DB_NAME}
restart: unless-stopped
volumes:
- ./postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=${SQL_USER}
- POSTGRES_PASSWORD=${SQL_PASSWORD}
- POSTGRES_DB=${SQL_DATABASE}