-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
49 lines (46 loc) · 1.07 KB
/
docker-compose.yaml
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
name: polkadot
services:
# Automatically update running containers
watchtower:
container_name: watchtower
image: containrrr/watchtower:latest
restart: unless-stopped
command:
- --interval
- "3600"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# Automatically restart unhealthy containers
autoheal:
container_name: autoheal
image: willfarrell/autoheal
restart: unless-stopped
environment:
AUTOHEAL_CONTAINER_LABEL: all
volumes:
- /var/run/docker.sock:/var/run/docker.sock
polkadot:
image: ghcr.io/bunkerlab-net/polkadot:stable2412-1
container_name: polkadot
command:
- --base-path
- /data
- --chain
- polkadot
- --rpc-external
- --rpc-cors
- all
- --rpc-methods
- Safe
- --prometheus-external
- --discover-local
- --log
- info
restart: unless-stopped
ports:
- 30333:30333 # p2p
- 9933:9933 # RPC
- 9944:9944 # WS
- 9615:9615 # Prometheus
volumes:
- ./polkadot-data:/data