-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
100 lines (97 loc) · 2.52 KB
/
docker-compose.yml
File metadata and controls
100 lines (97 loc) · 2.52 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
services:
unchained-local-node:
image: unchained-local-node
build:
context: ./node
dockerfile: Dockerfile.local
watcher:
build:
context: ./node
dockerfile: Dockerfile.local
working_dir: /app/node
# the additional yarn install here allows for platform specific packages to be install in the container
# previously this would fail when copying over node_modules from the host on macos due to
# @nx/nx-linux-arm64-musl not being installed
command: sh -c "yarn install && yarn workspaces foreach -Api run watch"
volumes:
- ./:/app
reverse-proxy:
# The official v2 Traefik docker image
image: traefik:v2.11
# Enables the web UI and tells Traefik to listen to docker
command:
- "--api.insecure=true"
# Enabling docker provider
- "--providers.docker=true"
# Do not expose containers unless explicitly told so
- "--providers.docker.exposedbydefault=false"
networks:
- arbitrum_default
- arbitrum-nova_default
- avalanche_default
- base_default
- bitcoin_default
- bitcoincash_default
- bnbsmartchain_default
- cosmos
- dogecoin_default
- ethereum_default
- gnosis_default
- litecoin_default
- mayachain
- optimism_default
- polygon_default
- thorchain
- thorchain-v1
- solana_default
- zcash_default
- proxy_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:
arbitrum_default:
name: arbitrum_default
arbitrum-nova_default:
name: arbitrum-nova_default
avalanche_default:
name: avalanche_default
base_default:
name: base_default
bitcoin_default:
name: bitcoin_default
bitcoincash_default:
name: bitcoincash_default
bnbsmartchain_default:
name: bnbsmartchain_default
cosmos:
name: cosmos
dogecoin_default:
name: dogecoin_default
ethereum_default:
name: ethereum_default
gnosis_default:
name: gnosis_default
litecoin_default:
name: litecoin_default
mayachain:
name: mayachain
optimism_default:
name: optimism_default
polygon_default:
name: polygon_default
thorchain:
name: thorchain
thorchain-v1:
name: thorchain-v1
solana_default:
name: solana_default
zcash_default:
name: zcash_default
proxy_default:
name: proxy_default