Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.8"
- services:
- app:
- build:
- context: ./
- dockerfile: Dockerfile
- container_name: program_2-app
- restart: always
- working_dir: /var/www
- volumes:
- - ../src:/var/www
- nginx:
- image: nginx:1.19-alpine
- container_name: program_2-nginx
- restart: always
- ports:
- - "8000:80"
- volumes:
- - ../src:/var/www
- - ./nginx:/etc/nginx/conf.d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement