-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose-no-node.yaml
107 lines (100 loc) · 2.58 KB
/
docker-compose-no-node.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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
version: '3.9'
volumes:
node-ipc:
networks:
default:
name: liqwid-bots
services:
watchtower:
image: containrrr/watchtower
command: --interval 3600 --label-enable --cleanup
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ogmios:
container_name: ogmios
image: cardanosolutions/ogmios:v5.5.6-mainnet
restart: always
command:
- --node-config
- /node-config/mainnet/config.json
- --node-socket
- /ipc/${NODE_SOCKET_FILE:-node.socket}
- --host
- 0.0.0.0
- --port
- "1337"
- --log-level
- Info
volumes:
- ${PWD}/config:/node-config
- ${CARDANO_NODE_SOCKET_PATH}:/ipc
logging:
options:
max-size: 10m
max-file: "5"
kupo:
container_name: kupo
image: cardanosolutions/kupo:v2.4.1
restart: always
command:
- --node-config
- /node-config/mainnet/config.json
- --node-socket
- /ipc/${NODE_SOCKET_FILE:-node.socket}
- --host
- 0.0.0.0
- --port
- "1442"
- --workdir
- /data
- --prune-utxo
- --since
- 83735993.ddeb4bf0e1daf4b510afaf479a48ae23570c10cea5f373f4077e850c0e21495d
- --match
- '*/*'
- --log-level
- Info
volumes:
- ${KUPO_DATA_FOLDER:-$PWD/kupo-data}:/data
- ${PWD}/config:/node-config
- ${CARDANO_NODE_SOCKET_PATH}:/ipc
logging:
options:
max-size: 10m
max-file: "5"
ada-bot:
container_name: ada-bot
image: ghcr.io/liqwid-labs/liqwid-liquidation-bot:main
labels:
- com.centurylinklabs.watchtower.enable = true
restart: always
environment:
- WALLET_MNEMONIC=${WALLET_MNEMONIC_ADA:-}
- MARKET=Ada
- HEARTBEAT_ADDR=127.0.0.1
- HEARTBEAT_PORT=2002
- VERBOSE=${VERBOSE:-false}
- LOGGER=${LOGGER:-NoColourLogger}
- OGMIOS_HOST=${OGMIOS_HOST:-ogmios}
- OGMIOS_PORT=${OGMIOS_PORT:-1337}
- OGMIOS_SECURE=${OGMIOS_SECURE:-false}
- OGMIOS_PATH=${OGMIOS_PATH:-}
- KUPO_HOST=${KUPO_HOST:-kupo}
- KUPO_PORT=${KUPO_PORT:-1442}
- KUPO_SECURE=${KUPO_SECURE:-false}
- KUPO_PATH=${KUPO_PATH:-}
- INTERVAL=${INTERVAL:-5}
- BUFFER=${BUFFER:-20000000}
- CHECK_PROFIT=${CHECK_PROFIT:-true}
- PROFIT_AMOUNT=${PROFIT_AMOUNT:-5}
- ENABLE_REDEEMS=${ENABLE_REDEEMS:-true}
- LIQWID_CONFIG=liqwid-mainnet-config.json
depends_on:
kupo:
condition: service_healthy
ogmios:
condition: service_healthy
logging:
options:
max-size: 10m
max-file: "5"