Files
ethereum-rpc-docker/hagall.yml
2023-12-29 06:03:18 +01:00

27 lines
954 B
YAML

version: '3.1'
services:
hagall:
image: aukilabs/hagall:v0.5.0
restart: unless-stopped
volumes:
- ./main_configs:/config
ports:
- 18190:18190
networks:
- chains
environment:
HAGALL_ADDR: :8080
HAGALL_PUBLIC_ENDPOINT: https://${DOMAIN}/hagall
#HAGALL_WALLET_ADDR: ${HAGALL_ADDRESS:-0xc28119af27c64191E14eD289d209B38b24B37807}
HAGALL_PRIVATE_KEY_FILE: "/config/hagall-private.key"
HAGALL_LOG_LEVEL: info
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.hagall-stripprefix.stripprefix.prefixes=/hagall"
- "traefik.http.services.hagall.loadbalancer.server.port=8080"
- "traefik.http.routers.hagall.entrypoints=websecure"
- "traefik.http.routers.hagall.tls.certresolver=myresolver"
- "traefik.http.routers.hagall.rule=Host(`$DOMAIN`) && PathPrefix(`/hagall`)"
- "traefik.http.routers.hagall.middlewares=hagall-stripprefix"