mlp-server-tools/docker-compose.yml

103 lines
1.7 KiB
YAML
Raw Permalink Normal View History

version: "3"
services:
consul:
container_name: consul
image: consul:latest
command: consul agent -dev -log-level=warn -ui -client=0.0.0.0
hostname: consul
ports:
- "8500:8500"
networks:
- svc
caddy:
container_name: caddy
image: abiosoft/caddy
volumes:
- ./Caddyfile:/etc/Caddyfile
- ./images:/images
ports:
- "80:2015"
networks:
- svc
rdb:
container_name: rdb
image: rethinkdb:latest
volumes:
- rdb-data:/data
ports:
- "8000:8080"
networks:
- rdb
redis:
container_name: redis
image: redis:alpine
networks:
- redis
apigateway:
container_name: apigateway
image: moaorg/apigateway
depends_on:
- consul
networks:
- svc
lobbysvc:
container_name: lobbysvc
image: moaorg/cardgage-lobby
environment:
- "JWT_KEY=this-is-a-test-key"
2019-07-04 14:49:14 +00:00
- "WSS_HOST=ws://192.168.20.20/api/room"
volumes:
- ".:/app"
depends_on:
- consul
- redis
networks:
- svc
- redis
roomsvc:
container_name: roomsvc
image: moaorg/cardgage-room
environment:
- "JWT_KEY=this-is-a-test-key"
volumes:
- ".:/app"
depends_on:
- consul
- rdb
networks:
- svc
- rdb
2019-06-20 22:38:50 +00:00
draftbot:
container_name: draftbot
2019-07-04 14:49:14 +00:00
command: -debug.log
2019-06-20 22:38:50 +00:00
build:
context: "."
dockerfile: Dockerfile.run
args:
modulepath: "draftbot"
volumes:
- "go-mods:/go"
- "./draftbot:/app"
depends_on:
- consul
- roomsvc
networks:
- svc
volumes:
rdb-data:
2019-06-20 22:38:50 +00:00
go-mods:
networks:
svc:
rdb:
redis: