Files
hostpanel/docker-compose.yml
ilkeral f4ee7a2d0b yeni
2025-08-08 07:24:25 +03:00

35 lines
964 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.

services:
yonetim:
build: ./build/
container_name: yonetim
restart: unless-stopped
#command: python manage.py runserver 0.0.0.0:8000
command: gunicorn --bind 0.0.0.0:8000 yonetim.wsgi:application
volumes:
- ./:/app:rw
- ./db.sqlite3:/app/db.sqlite3:rw
# Geçici dizin yapılandırması - Yedekleme için önemli
tmpfs:
- /tmp:exec,mode=1777,size=2g
#ports:
# - 8025:8000
networks:
- proxy
environment:
- DEBUG=1
privileged: true
cap_add:
- SYS_ADMIN
- DAC_OVERRIDE
labels:
- "traefik.enable=false"
- "traefik.http.routers.tasima.rule=Host(`habitatnakliyat.com.tr`)"
- "traefik.http.routers.tasima.entrypoints=websecure"
- "traefik.http.routers.tasima.tls=true"
- "traefik.http.routers.tasima.tls.certresolver=letencrypt"
- "traefik.http.services.tasima.loadbalancer.server.port=8000"
networks:
proxy:
external: true