You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

41 lines
765 B

version: "2"
services:
nginx:
build:
context: docker/nginx
image: bcbc/nginx:production
ports:
- "80:80"
- "443:443"
links:
- workstand
volumes_from:
- workstand:ro
volumes:
- certs:/etc/letsencrypt
workstand:
build:
context: .
dockerfile: Dockerfile
image: bcbc/workstand:production
env_file:
- workstand.env
command: gunicorn --log-file=- -b 0.0.0.0:8000 bikeshop.wsgi:application
environment:
- DJANGO_SETTINGS_MODULE=bikeshop.settings.production
volumes:
- static:/code/static
depends_on:
- redis
- db
redis:
restart: always
db:
restart: always
volumes:
static:
external: false
certs:
external: false