Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- web:
- build:
- context: ./web/
- dockerfile: Dockerfile
- expose:
- - "8000"
- volumes:
- - ./web:/code
- - static-data:/www/static
- - media-data:/www/media
- env_file: devEnv
- nginx:
- build: ./nginx/
- ports:
- - "80:80"
- volumes:
- - static-data:/www/static
- - media-data:/www/media
- volumes_from:
- - web
- links:
- - web:web
- volumes:
- static-data:
- driver: local
- media-data:
- driver: s3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement