Skip to content
Permalink
2bac1503b8
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
52 lines (51 sloc) 911 Bytes
version: "3"
services:
webproxy:
image: "nginx"
restart: unless-stopped
depends_on:
- frontend
- backend
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- 7655:80
networks:
- frontend
- backend
frontend:
build:
context: "frontend"
dockerfile: Dockerfile
restart: unless-stopped
# ports:
# - "8081:80"
networks:
- frontend
backend:
build:
context: "backend"
dockerfile: Dockerfile
restart: unless-stopped
# ports:
# - "3000:3000"
networks:
- backend
db:
image: "mongo"
restart: unless-stopped
volumes:
- mongodata:/data/db
- mongoconfig:/data/configdb
networks:
- backend
volumes:
mongodata:
external: false
mongoconfig:
external: false
networks:
backend:
driver: bridge
frontend:
driver: bridge