-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (41 loc) · 961 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (41 loc) · 961 Bytes
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
version: "3.7"
services:
sidecar:
build:
context: ./sidecar
image: sidecar:latest
ports:
- 8080:8080
volumes:
- ./port.sh:/port.sh
- /var/run/docker.sock:/var/run/docker.sock
bee:
build:
context: ./bee
image: bee-scale:latest
environment:
- BEE_PASSWORD=changeme
- BEE_SWAP_ENABLE=true
- BEE_BLOCKCHAIN_RPC_ENDPOINT=<<<ENTER YOUR GNOSIS RPC ADDRESS>>>
- BEE_DB_OPEN_FILES_LIMIT=1000
- BEE_FULL_NODE=true
- BEE_DEBUG_API_ENABLE=true
ports:
- "36330-36339:1633"
- "32001-32010:1634"
- "36350-36359:1635"
restart: "unless-stopped"
depends_on:
- sidecar
deploy:
mode: replicated
replicas: 1
resources:
limits:
cpus: '2'
memory: 4G
logging:
driver: "json-file"
options:
max-file: "5" # number of files or file count
max-size: "10m" # file size