Created
September 10, 2017 08:50
-
-
Save wilk/11bd60b0ccbb658645cb9fc2a4e3ef0c to your computer and use it in GitHub Desktop.
Docker-compose.yml draft
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: | |
setup-python: | |
image: data.python3:1 | |
build: | |
dockerfile: docker/Dockerfile | |
context: ./python | |
volumes: | |
- ./python:/opt/app | |
cleaner: | |
image: data.python3:1 | |
volumes: | |
- ./python:/opt/app | |
collector: | |
image: data.python3:1 | |
volumes: | |
- ./python:/opt/app | |
depends_on: | |
- mongodb | |
setup-golang: | |
image: data.golang1.9:1 | |
build: | |
dockerfile: docker/Dockerfile | |
context: go | |
volumes: | |
- ./go:/go/src/app | |
goxfer: | |
image: data.golang1.9:1 | |
volumes: | |
- ./go:/go/src/app | |
depends_on: | |
- mongodb | |
mongodb: | |
image: mongo:3.4 | |
ports: | |
- "27017:27017" | |
volumes: | |
- db_mongo:/data/db:rw | |
volumes: | |
db_mongo: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment