Skip to content

Instantly share code, notes, and snippets.

@wilk
Created September 10, 2017 08:50
Show Gist options
  • Save wilk/11bd60b0ccbb658645cb9fc2a4e3ef0c to your computer and use it in GitHub Desktop.
Save wilk/11bd60b0ccbb658645cb9fc2a4e3ef0c to your computer and use it in GitHub Desktop.
Docker-compose.yml draft
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