fix some traefic params

This commit is contained in:
cventastic
2021-12-16 15:36:07 +01:00
parent c8dc4dcee3
commit c2e4b18039
2 changed files with 3 additions and 7 deletions

View File

@@ -4,8 +4,7 @@ git clone https://github.com/cventastic/POKT_DOKT.git
git submodule update --init --recursive git submodule update --init --recursive
git pull --recurse-submodules git pull --recurse-submodules
cd POKT_DOKT cd POKT_DOKT
chown -R 1005:1001 bootstrap_skript && chown -R 1005:1001 chains git reset --hard origin/main && git pull && chown 1005:1001 -R chains/ bootstrap_skript/ && chmod u+x bootstrap_skript/pokt_mainnet.shdocker-compose up -d
docker-compose up -d
``` ```
this compose file needs the following env-vars for example in a .env file inside the repo root-folder: this compose file needs the following env-vars for example in a .env file inside the repo root-folder:
``` ```

View File

@@ -7,10 +7,9 @@ services:
container_name: traefik container_name: traefik
restart: always restart: always
ports: ports:
- "127.0.0.1:443:443" - "443:443"
- "127.0.0.1:8080:8080" - "127.0.0.1:8080:8080"
networks: networks:
- web
- pocket - pocket
command: command:
- "--api=true" - "--api=true"
@@ -147,10 +146,10 @@ services:
- ./bootstrap_skript/pokt_mainnet.sh:/home/app/.pocket/pokt_mainnet.sh - ./bootstrap_skript/pokt_mainnet.sh:/home/app/.pocket/pokt_mainnet.sh
- pocket-mainnet:/home/app/.pocket - pocket-mainnet:/home/app/.pocket
networks: networks:
- web
- pocket - pocket
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.services.myservice.loadbalancer.server.port=8081"
- "traefik.http.routers.pocket-mainnet.rule=Host(`bsc-1.stakesquid-db.ml`)" - "traefik.http.routers.pocket-mainnet.rule=Host(`bsc-1.stakesquid-db.ml`)"
- "traefik.http.routers.pocket-mainnet.entrypoints=websecure" - "traefik.http.routers.pocket-mainnet.entrypoints=websecure"
- "traefik.http.routers.pocket-mainnet.tls.certresolver=myresolver" - "traefik.http.routers.pocket-mainnet.tls.certresolver=myresolver"
@@ -166,7 +165,5 @@ volumes:
pocket-mainnet: pocket-mainnet:
networks: networks:
web:
external: true
pocket: pocket:
driver: bridge driver: bridge