for docker running

This commit is contained in:
2025-12-26 17:23:27 +03:00
parent fbfc3b492b
commit 56af36451b
2 changed files with 43 additions and 0 deletions

14
docker-compose.yml Normal file
View File

@@ -0,0 +1,14 @@
version: '3.8'
services:
web:
build: .
# Путь к manage.py
command: python etpgrf_site/manage.py runserver 0.0.0.0:8000
volumes:
- .:/app
ports:
- "8000:8000"
env_file:
# Подключаем файл .env с переменными окружения (секретами)
- .env