Created
March 24, 2018 07:01
-
-
Save annibuliful/ca3c553b37d8fdeebd5bbdab3d80a062 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
backend: | |
build: './backend' | |
volumes: | |
- './backend:/app' | |
ports: | |
- "3030:3030" | |
links: | |
- mongodb | |
frontend: | |
build: './frontend' | |
volumes: | |
- './frontend:/app' | |
ports: | |
- "8080:8080" | |
depends_on: | |
- backend | |
admin: | |
build: './admin/' | |
volumes: | |
- './admin/:/app' | |
ports: | |
- "3034:3000" | |
nginx: | |
container_name: nginx | |
restart: always | |
image: nginx | |
ports: | |
- "80:80" | |
#- "443:443" | |
volumes: | |
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf | |
#- ./nginx/beewallet.access.log:/etc/nginx/log/beewallet.access.log | |
#- ./nginx/cert/private.key:/etc/nginx/cert/private.key | |
#- ./nginx/cert/public.cert:/etc/nginx/cert/public.cert | |
depends_on: | |
- frontend | |
- backend | |
- admin | |
mongodb: | |
restart: always | |
container_name: mongodb | |
volumes: | |
- ./mongo/data:/data/db | |
image: mongo | |
ports: | |
- "27017:27017" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment