Files
links/docker-compose.prod.yml
2025-11-04 21:07:56 +09:00

23 lines
684 B
YAML
Raw Permalink 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=True
- 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