join the fantom testnet fun

This commit is contained in:
Sebastian
2023-10-20 17:01:58 +02:00
parent 818db4a42e
commit e84519646e
3 changed files with 99 additions and 0 deletions

32
fantom-testnet.yml Normal file
View File

@@ -0,0 +1,32 @@
version: "3.1"
services:
fantom-testnet:
build:
args:
VERSION: release/1.1.3-rc.5
context: ./fantom
dockerfile: Dockerfile-testnet
environment:
- CACHE_SIZE=${FANTOM_CACHE_SIZE:-16000}
volumes:
- "fantom-testnet:/datadir"
expose:
- "18544"
- "44629"
ports:
- "44629:44629"
- "44629:44629/udp"
networks:
- chains
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.fantom-testnet-stripprefix.stripprefix.prefixes=/fantom-testnet"
- "traefik.http.services.fantom-testnet.loadbalancer.server.port=18544"
- "traefik.http.routers.fantom-testnet.entrypoints=websecure"
- "traefik.http.routers.fantom-testnet.tls.certresolver=myresolver"
- "traefik.http.routers.fantom-testnet.rule=Host(`$DOMAIN`) && PathPrefix(`/fantom-testnet`)"
- "traefik.http.routers.fantom-testnet.middlewares=fantom-testnet-stripprefix, ipwhitelist"
volumes:
fantom-testnet: