-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (53 loc) · 1.22 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: "3"
services:
proxy:
image: linuxserver/swag
container_name: zero-proxy
env_file:
- $PWD/config/letsencrypt-env
cap_add:
- NET_ADMIN
volumes:
- $PWD/config/node.subdomain.conf:/config/nginx/proxy-confs/node.subdomain.conf
- proxyVolume:/config
ports:
- 443:443
- 80:80
restart: unless-stopped
node:
image: playzero/subzero
container_name: zero-node
restart: unless-stopped
user: "$UID:$GID"
volumes:
- $PWD/keys/:/data/chains/zero-alphaville/keystore/
depends_on:
- proxy
command:
[
"/usr/local/bin/subzero",
"--base-path",
"/data",
"--name",
"${NAME}",
"--validator",
"--ws-external",
"--rpc-external",
"--rpc-cors",
"all",
"--rpc-methods",
"unsafe",
"--public-addr",
"/ip4/0.0.0.0",
"--telemetry-url",
"wss://telemetry.polkadot.io/submit/ 5",
]
ipfs-node:
image: lactore/zero-ipfs-node
container_name: zero-ipfs
restart: unless-stopped
volumes:
- ipfsData:/data/ipfs
volumes:
proxyVolume:
ipfsData: