Files
links/docker-compose.prod.yml
Andrey K. Choi ce7a8d9cf0
Some checks failed
continuous-integration/drone/push Build is failing
prod containers fix
2025-11-04 20:53:16 +09:00

23 lines
685 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Production configuration for CatLink
services:
web:
environment:
- DJANGO_DEBUG=False
- DJANGO_SECURE_SSL_REDIRECT=False
- DJANGO_SECURE_HSTS_SECONDS=31536000
- DJANGO_SECURE_HSTS_INCLUDE_SUBDOMAINS=True
- DJANGO_SECURE_HSTS_PRELOAD=True
restart: unless-stopped
frontend:
environment:
- NODE_ENV=production
- NEXT_PUBLIC_API_URL=https://links.shareon.kr
restart: unless-stopped
db:
restart: unless-stopped
# В продакшене БД полностью изолирована - без внешних портов
ports: []
environment:
- POSTGRES_INITDB_ARGS=--auth-host=scram-sha-256