-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathdocker-compose.yml
44 lines (41 loc) · 1.15 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
version: "3.3"
services:
mango-service-v3:
build: mango-service-v3
ports:
- "3000:3000"
volumes:
- ~/.config/solana:/root/.config/solana # mount volume where keys are present, also see PRIVATE_KEY_PATH
environment:
- PORT=3000
- GROUP_NAME=mainnet.1
- meAndThePeeps=Bh2cEy6VwKjuCNBVugHbWrjVYKqfiVpP6i9qKfBLu9sg # separate accounts with commas
- CLUSTER_URL=https://yourshit.gg # configure custom RPC node
- PRIVATE_KEY_PATH=./id.json # configure path to private keypair here
mango-bowl:
restart: always
build: "mango-bowl"
ports:
- "8005:8005"
environment:
- GROUP_NAME=mainnet.1
- GROUP=mainnet
- MB_GROUP_NAME=mainnet.1
- MB_PORT=8005
- MB_ENDPOINT=https://yourshit.gg # configure custom RPC node
mango-client-v3:
build: mango-client-v3
restart: always
ports:
- "3138:3138"
py:
build: py
network_mode: host
restart: always
reverse-proxy:
build: .
restart: always
ports:
- "80:80"
volumes:
- ./nginx.conf/:/etc/nginx/nginx.conf # custom config which unifies mango-service-v3 and mango-bowl