23 lines
452 B
YAML
23 lines
452 B
YAML
|
services:
|
||
|
web:
|
||
|
build:
|
||
|
context: ./franklincce
|
||
|
dockerfile: Dockerfile.prod
|
||
|
command: gunicorn franklincce.wsgi:application --bind 0.0.0.0:8000
|
||
|
volumes:
|
||
|
- static_volume:/home/app/web/staticfiles
|
||
|
expose:
|
||
|
- 8000
|
||
|
env_file:
|
||
|
- ./.env.prod
|
||
|
nginx:
|
||
|
build: ./nginx
|
||
|
volumes:
|
||
|
- static_volume:/home/app/web/staticfiles
|
||
|
ports:
|
||
|
- 1337:80
|
||
|
depends_on:
|
||
|
- web
|
||
|
volumes:
|
||
|
static_volume:
|