ytsm/docker-compose.yml

23 lines
398 B
YAML
Raw Normal View History

2018-10-30 06:15:49 +00:00
version: '3.1'
services:
nginx:
image: nginx:latest
volumes:
- ./docker/nginx:/etc/nginx/conf.d/
2018-10-30 06:15:49 +00:00
- ./app/YtManagerApp/static:/www/static
- ./data/media:/www/media
2018-10-30 06:15:49 +00:00
ports:
- "80:80"
depends_on:
- web
web:
build: .
tty: true
ports:
- "8000:8000"
volumes:
- ./config:/usr/src/ytsm/config
- ./data:/usr/src/ytsm/data