Files
links/docker-compose.prod.yml
Andrey K. Choi 735c1984f9
Some checks failed
continuous-integration/drone/push Build is failing
secrutiry update
2025-11-04 13:44:00 +09:00

24 lines
761 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
- DJANGO_ALLOWED_HOSTS=links.shareon.kr,shareon.kr,localhost,127.0.0.1
restart: unless-stopped
frontend:
environment:
- NODE_ENV=production
- NEXT_PUBLIC_API_URL=http://links.shareon.kr
restart: unless-stopped
db:
restart: unless-stopped
# В продакшене БД полностью изолирована - без внешних портов
ports: []
environment:
- POSTGRES_INITDB_ARGS=--auth-host=scram-sha-256