docker external network

This commit is contained in:
javad committed 2026-09-11 12:01:11 +03:30
1 parent 760a0e7f20
commit 3a8f428461
2 files changed
+10

No files matched your search

+8
View File
@@ -4,6 +4,8 @@ x-django-service: &django-service
dockerfile: Dockerfile
restart: unless-stopped
init: true
networks:
- coolify
environment: &django-environment
DJANGO_SETTINGS_MODULE: config.settings.prod
DJANGO_SECRET_KEY: ${DJANGO_SECRET_KEY:?Set DJANGO_SECRET_KEY in Coolify}
@@ -82,6 +84,8 @@ services:
nginx:
image: ${NGINX_IMAGE:-nginx:1.27-alpine}
restart: unless-stopped
networks:
- coolify
expose:
- "80"
depends_on:
@@ -109,3 +113,7 @@ volumes:
seed_data:
external: true
name: ${SEED_VOLUME_NAME:-customer_ticket_seed}
networks:
coolify:
external: true