Select Git revision
._bootstrap-grid.css.map
docker-compose.yml 534 B
version: '3'
services:
# Django web app on Gunicorn WSGI server
gunicorn:
build: .
container_name: django_01
expose:
- "8000" # port where the Django app runs
restart: on-failure
# Nginx server
nginx:
image: nginx:latest
container_name: nginx_01
ports:
- 8000:8000
volumes:
# copy files to the Docker container
- ./static/:/static # static files
- ./nginx:/etc/nginx/conf.d # nginx configuration file
depends_on:
- gunicorn
restart: on-failure