Created
June 21, 2018 00:28
-
-
Save rafaelcaviquioli/334e9f9a0e46361690b6d26add2e2957 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: '2' | |
services: | |
app: | |
image: node:8.9.4 | |
working_dir: /home/node | |
ports: | |
- 8080:8080 | |
volumes: | |
- ./:/home/node | |
command: node server.js | |
depends_on: | |
- mongo | |
mongo: | |
image: mongo | |
environment: | |
MONGO_INITDB_ROOT_USERNAME: root | |
MONGO_INITDB_ROOT_PASSWORD: 1234 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment