This commit is contained in:
relikd
2023-05-29 15:20:07 +02:00
commit 1380b156d8
126 changed files with 3612 additions and 0 deletions

28
docker/docker-compose.yml Executable file
View File

@@ -0,0 +1,28 @@
version: '3'
services:
web:
container_name: web
build:
context: nginx
dockerfile: Dockerfile
ports:
- 80:80
volumes:
- django-static:/var/www/html/static
working_dir: /etc/nginx
links:
- app
app:
container_name: app
build:
context: ..
dockerfile: Dockerfile
environment:
DJANGO_SECRET_KEY: $DJANGO_SECRET_KEY
ALLOWED_HOSTS: $ALLOWED_HOSTS
volumes:
- django-static:/var/www/html/static
working_dir: /django_project
volumes:
django-static: