Created
January 2, 2019 03:12
-
-
Save esqu1/d20807dd62b996e1948a6e691a501b98 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
procon: | |
image: node:0.10 | |
command: node server.js | |
volumes: | |
- ./procon:/data | |
- ./ssl:/ssl | |
working_dir: /data | |
ports: | |
- "80:80" | |
- "443:443" | |
links: | |
- api | |
- mongo | |
environment: | |
- NODE_ENV=production | |
- SSL_CERT_FILE=/ssl/fullchain.pem | |
- SSL_KEY_FILE=/ssl/privkey.pem | |
- BRUCE_KEY=4f1baac31e90e26da3531d8adcb882c440511c580dfa569169580b209c9129e9 | |
- COOKIE_SECRET=lolcookiespclassic | |
api: | |
image: node | |
command: node server.js | |
volumes: | |
- ./api:/data | |
working_dir: /data | |
ports: | |
- "8080:8080" | |
links: | |
- mongo | |
- redis | |
env_file: | |
- ./api/dev.env | |
environment: | |
- LOGGLY_TAGS=development,api,nodejs | |
worker: | |
build: api/worker | |
command: node worker/task-server.js | |
working_dir: /data | |
volumes: | |
- ./api:/data | |
- /workspace:/workspace | |
- /var/run/docker.sock:/var/run/docker.sock | |
links: | |
- mongo | |
- redis | |
env_file: | |
- ./api/dev.env | |
environment: | |
- LOGGLY_TAGS=development,worker,nodejs | |
mongo: | |
image: mongo | |
command: mongod --smallfiles | |
ports: | |
- "27017:27017" | |
redis: | |
image: redis | |
ports: | |
- "6379:6379" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment