forked from shapeshift/unchained
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (34 loc) · 911 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '3.6'
services:
unchained-local:
image: unchained-local
build:
context: .
dockerfile: Dockerfile.local
watcher:
image: unchained-local
working_dir: /app
command: sh -c "yarn lerna run watch --scope @shapeshiftoss/* --parallel"
volumes:
- .:/app
reverse-proxy:
# The official v2 Traefik docker image
image: traefik:v2.5
# Enables the web UI and tells Traefik to listen to docker
command: --api.insecure=true --providers.docker
networks:
- bitcoin_default
- ethereum_default
ports:
# The HTTP port
- '80:80'
# The Web UI (enabled by --api.insecure=true)
- '8080:8080'
volumes:
# So that Traefik can listen to the Docker events
- /var/run/docker.sock:/var/run/docker.sock
networks:
bitcoin_default:
name: bitcoin_default
ethereum_default:
name: ethereum_default