Created
April 2, 2018 03:23
-
-
Save ivancorrales/717257efce3f53f5cecb71b54c0f2e48 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: | |
mollydb: | |
image: wesovilabs/mollydb:0.0.1-alpha | |
volumes: | |
- "./mollydb/data:/var/mollydb/storage/ms" | |
ports: | |
- 7000:9090 | |
users: | |
image: golang:1.9 | |
container_name: ms-users | |
volumes: | |
- "./ms-users:/go/src/ms-users" | |
ports: | |
- 7001:3333 | |
working_dir: /go/src/ms-users | |
depends_on: | |
- mollydb | |
links: | |
- mollydb | |
entrypoint: go run main.go | |
operations: | |
image: golang:1.9 | |
container_name: ms-operations | |
volumes: | |
- "./ms-users:/go/src/ms-operations" | |
ports: | |
- 7002:3333 | |
working_dir: /go/src/ms-operations | |
depends_on: | |
- mollydb | |
links: | |
- mollydb | |
entrypoint: go run main.go | |
initializer: | |
image: centos:7 | |
volumes: | |
- "./initializer/setup.sh:/setup.sh" | |
depends_on: | |
- mollydb | |
entrypoint: sh /setup.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment