Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- services:
- frontend:
- build:
- context: ./frontend
- dockerfile: ./docker/frontend/nginx.dockerfile
- container_name: frontend_myapp
- restart: unless-stopped
- ports:
- - "${DOCKER_FRONTEND_PORT}:80"
- volumes:
- - ./frontend:/var/www/html
- depends_on:
- - vue
- networks:
- - nodeapp
- vue:
- build:
- context: ./frontend
- dockerfile: ./docker/frontend/node.dockerfile
- container_name: vue_avatar_mgmt
- restart: unless-stopped
- ports:
- - '8081:8080'
- volumes:
- - ./frontend:/var/www/html
- - /var/www/html/node_modules
- networks:
- - nodeapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement