renaming stuff
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/fantom-mainnet-archive \
|
||||
# curl -X POST https://${IP}.traefik.me/fantom-mainnet \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
x-logging-defaults: &logging-defaults
|
||||
@@ -29,7 +29,7 @@ x-logging-defaults: &logging-defaults
|
||||
max-file: '3'
|
||||
|
||||
services:
|
||||
fantom-mainnet-archive:
|
||||
fantom-mainnet:
|
||||
build:
|
||||
context: ./fantom
|
||||
dockerfile: sonic.Dockerfile
|
||||
@@ -95,12 +95,12 @@ services:
|
||||
- prometheus-scrape.port=6060
|
||||
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.fantom-mainnet-sonic-archive-stripprefix.stripprefix.prefixes=/fantom-mainnet-archive
|
||||
- traefik.http.middlewares.fantom-mainnet-sonic-archive-stripprefix.stripprefix.prefixes=/fantom-mainnet
|
||||
- traefik.http.services.fantom-mainnet-sonic-archive.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.fantom-mainnet-sonic-archive.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.fantom-mainnet-sonic-archive.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.fantom-mainnet-sonic-archive.rule=Host(`$DOMAIN`) && (Path(`/fantom-mainnet-archive`) || Path(`/fantom-mainnet-archive/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.fantom-mainnet-sonic-archive.rule=Path(`/fantom-mainnet-archive`) || Path(`/fantom-mainnet-archive/`)}
|
||||
- ${NO_SSL:-traefik.http.routers.fantom-mainnet-sonic-archive.rule=Host(`$DOMAIN`) && (Path(`/fantom-mainnet`) || Path(`/fantom-mainnet/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.fantom-mainnet-sonic-archive.rule=Path(`/fantom-mainnet`) || Path(`/fantom-mainnet/`)}
|
||||
- traefik.http.routers.fantom-mainnet-sonic-archive.middlewares=fantom-mainnet-sonic-archive-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/fantom-testnet-archive \
|
||||
# curl -X POST https://${IP}.traefik.me/fantom-testnet \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
x-logging-defaults: &logging-defaults
|
||||
@@ -29,7 +29,7 @@ x-logging-defaults: &logging-defaults
|
||||
max-file: '3'
|
||||
|
||||
services:
|
||||
fantom-testnet-archive:
|
||||
fantom-testnet:
|
||||
build:
|
||||
context: ./fantom
|
||||
dockerfile: sonic.Dockerfile
|
||||
@@ -95,12 +95,12 @@ services:
|
||||
- prometheus-scrape.port=6060
|
||||
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.fantom-testnet-sonic-archive-stripprefix.stripprefix.prefixes=/fantom-testnet-archive
|
||||
- traefik.http.middlewares.fantom-testnet-sonic-archive-stripprefix.stripprefix.prefixes=/fantom-testnet
|
||||
- traefik.http.services.fantom-testnet-sonic-archive.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.fantom-testnet-sonic-archive.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.fantom-testnet-sonic-archive.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.fantom-testnet-sonic-archive.rule=Host(`$DOMAIN`) && (Path(`/fantom-testnet-archive`) || Path(`/fantom-testnet-archive/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.fantom-testnet-sonic-archive.rule=Path(`/fantom-testnet-archive`) || Path(`/fantom-testnet-archive/`)}
|
||||
- ${NO_SSL:-traefik.http.routers.fantom-testnet-sonic-archive.rule=Host(`$DOMAIN`) && (Path(`/fantom-testnet`) || Path(`/fantom-testnet/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.fantom-testnet-sonic-archive.rule=Path(`/fantom-testnet`) || Path(`/fantom-testnet/`)}
|
||||
- traefik.http.routers.fantom-testnet-sonic-archive.middlewares=fantom-testnet-sonic-archive-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user