Created
March 24, 2019 02:19
-
-
Save lamecksilva/1199b4e6864cadcdf822a1d77c03d66f to your computer and use it in GitHub Desktop.
This file contains 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: '3' | |
services: | |
server: | |
container_name: NODEJS_SERVER_MEDIUM | |
build: '.' | |
volumes: | |
- ./:/node-app | |
- ./node_modules:/node-app/node_modules | |
environment: | |
NODE_ENV: development | |
depends_on: | |
- db | |
links: | |
- db | |
ports: | |
- '9000:9000' | |
db: | |
image: 'mongo' | |
container_name: MONGODB_MEDIUM | |
ports: | |
- '27017:27017' | |
volumes: | |
- ./data/db:/data/db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment