-
Notifications
You must be signed in to change notification settings - Fork 65
/
compose-optional.yml
48 lines (44 loc) · 2.1 KB
/
compose-optional.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
networks:
monitor-net:
driver: bridge
######################################################################################
##################### POIFIER CONTAINER #######################
######################################################################################
poifier:
image: grassets/poifier-client:v2.0.3
container_name: poifier
command:
- "--poifier-server=https://poifier.io"
- "--graph-node-status-endpoint=http://index-node-0:8030/graphql"
- "--mnemonic=${OPERATOR_SEED_PHRASE}"
- "--indexer-address=${STAKING_WALLET_ADDRESS}"
- "--indexer-agent-epoch-subgraph-endpoint=${INDEXER_AGENT_EPOCH_SUBGRAPH_ENDPOINT:-https://api.thegraph.com/subgraphs/name/graphprotocol/mainnet-epoch-block-oracle}"
tty: true
networks:
- monitor-net
restart: unless-stopped
######################################################################################
##################### INDEXER AGENT GUI #######################
######################################################################################
indexer-agent-gui:
image: ${INDEXER_AGENT_GUI:-ghcr.io/stakemachine/indexer-agent-ui:v0.2.1}
container_name: indexer-agent-gui
expose:
- 3000
environment:
- UI_LOGIN=${ADMIN_USER:-test}
- UI_PASS=${ADMIN_PASSWORD:-pass}
- AGENT_ENDPOINT=${INDEXER_AGENT_ENDPOINT:-http://indexer-agent:8000}
- SUBGRAPH_ENDPOINT=${INDEXER_AGENT_NETWORK_SUBGRAPH_ENDPOINT:-https://api.thegraph.com/subgraphs/name/graphprotocol/graph-network-mainnet}
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
- NEXTAUTH_URL=https://${AGENT_GUI_HOST}/
restart: unless-stopped
networks:
- monitor-net
logging: *default-logging
labels:
- "traefik.enable=true"
- "traefik.http.services.indexer-agent-gui.loadbalancer.server.port=3000"
- "traefik.http.routers.indexer-agent-gui.entrypoints=websecure"
- "traefik.http.routers.indexer-agent-gui.tls.certresolver=myresolver"
- "traefik.http.routers.indexer-agent-gui.rule=Host(`$AGENT_GUI_HOST`)"