-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
57 lines (56 loc) · 1.31 KB
/
docker-compose.yaml
File metadata and controls
57 lines (56 loc) · 1.31 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
services:
jwt-generator:
container_name: giwa-jwt-generator
image: alpine/openssl
entrypoint: >
/bin/sh -c "[ ! -f /shared/jwtsecret.key ] && openssl rand -hex 32 | tr -d '\n' > /shared/jwtsecret.key || exit 0"
volumes:
- shared:/shared
restart: "no"
execution:
container_name: giwa-el
depends_on:
jwt-generator:
condition: service_completed_successfully
build:
context: .
dockerfile: ${CLIENT}/Dockerfile
args:
OPGETH_VERSION: v1.101609.1
RETH_VERSION: v1.11.0
env_file:
- ${NETWORK_ENV:-.env.sepolia}
ports:
- "8545:8545"
- "8546:8546"
- "7301:6060"
- "30303:30303"
- "30303:30303/udp"
volumes:
- shared:/shared
- ${DATA_DIR}:/app/data
consensus:
container_name: giwa-cl
depends_on:
jwt-generator:
condition: service_completed_successfully
execution:
condition: service_started
build:
context: .
dockerfile: ./node/Dockerfile
args:
OPNODE_VERSION: v1.16.7
env_file:
- ${NETWORK_ENV:-.env.sepolia}
environment:
OP_NODE_L2_ENGINE_KIND: ${CLIENT}
ports:
- "9545:9545"
- "9222:9222"
- "9222:9222/udp"
- "7300:7300"
volumes:
- shared:/shared
volumes:
shared: