-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
90 lines (88 loc) · 2.2 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
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
version: "3"
services:
clef-1:
image: ethersphere/clef:0.6.0
restart: unless-stopped
environment:
- CLEF_CHAINID
volumes:
- clef-1:/app/data
command: full
bee-1:
image: ethersphere/bee:1.4.3
restart: unless-stopped
environment:
- BEE_API_ADDR
- BEE_BLOCK_TIME
- BEE_BOOTNODE
- BEE_BOOTNODE_MODE
- BEE_CLEF_SIGNER_ENABLE
- BEE_CLEF_SIGNER_ENDPOINT=http://clef-1:8550
- BEE_CONFIG
- BEE_CORS_ALLOWED_ORIGINS
- BEE_DATA_DIR
- BEE_CACHE_CAPACITY
- BEE_DB_OPEN_FILES_LIMIT
- BEE_DB_BLOCK_CACHE_CAPACITY
- BEE_DB_WRITE_BUFFER_SIZE
- BEE_DB_DISABLE_SEEKS_COMPACTION
- BEE_DEBUG_API_ADDR
- BEE_DEBUG_API_ENABLE
- BEE_GATEWAY_MODE
- BEE_GLOBAL_PINNING_ENABLE
- BEE_FULL_NODE
- BEE_NAT_ADDR
- BEE_NETWORK_ID
- BEE_P2P_ADDR
- BEE_P2P_QUIC_ENABLE
- BEE_P2P_WS_ENABLE
- BEE_PASSWORD
- BEE_PASSWORD_FILE
- BEE_PAYMENT_EARLY_PERCENT
- BEE_PAYMENT_THRESHOLD
- BEE_PAYMENT_TOLERANCE_PERCENT
- BEE_POSTAGE_STAMP_ADDRESS
- BEE_RESOLVER_OPTIONS
- BEE_SWAP_ENABLE
- BEE_SWAP_ENDPOINT
- BEE_SWAP_FACTORY_ADDRESS
- BEE_SWAP_LEGACY_FACTORY_ADDRESSES
- BEE_SWAP_INITIAL_DEPOSIT
- BEE_SWAP_DEPLOYMENT_GAS_PRICE
- BEE_TRACING_ENABLE
- BEE_TRACING_ENDPOINT
- BEE_TRACING_SERVICE_NAME
- BEE_TRANSACTION
- BEE_VERBOSITY
- BEE_WELCOME_MESSAGE
- BEE_MAINNET
ports:
- "${API_ADDR:-1633}${BEE_API_ADDR:-:1633}"
- "${P2P_ADDR:-1634}${BEE_P2P_ADDR:-:1634}"
- "${DEBUG_API_ADDR:-127.0.0.1:1635}${BEE_DEBUG_API_ADDR:-:1635}"
volumes:
- bee-1:/home/bee/.bee
command: start
depends_on:
- clef-1
uploader:
image: "node:16"
depends_on:
- bee-1
volumes:
- ./:/home/node/app
working_dir: /home/node/app
environment:
- NODE_ENV=production
deploy:
resources:
limits:
memory: 4G
expose:
- "8080"
ports:
- "8080:8080"
command: bash -c "cd app-wiki && npm install && cd .. && npm install && npm run build && npm start"
volumes:
clef-1:
bee-1: