Stats service support in docker-compose config with new frontend

pull/7594/head
Viktor Baranov 2 years ago
parent 33a52994dd
commit 686716b8e2
  1. 1
      CHANGELOG.md
  2. 2
      docker-compose/envs/common-frontend.env
  3. 6
      docker-compose/proxy/nginx.conf
  4. 2
      docker-compose/services/docker-compose-frontend.yml

@ -22,6 +22,7 @@
### Chore
- [#7594](https://github.com/blockscout/blockscout/pull/7594) - Stats service support in docker-compose config with new frontend
- [#7576](https://github.com/blockscout/blockscout/pull/7576) - Check left blocks in pending block operations in order to decide, if we need to display indexing int tx banner at the top
- [#7543](https://github.com/blockscout/blockscout/pull/7543) - Allow hyphen in DB username

@ -1,5 +1,5 @@
NEXT_PUBLIC_API_HOST=localhost
NEXT_PUBLIC_STATS_API_HOST=http://localhost:8153
NEXT_PUBLIC_STATS_API_HOST=http://localhost
NEXT_PUBLIC_API_PORT=80
NEXT_PUBLIC_API_PROTOCOL=http
NEXT_PUBLIC_NETWORK_NAME=Göerli

@ -11,4 +11,10 @@ server {
location /api/account/v1 {
proxy_pass http://backend:4000/api/account/v1;
}
location /api/v1/counters {
proxy_pass http://stats:8050/api/v1/counters;
}
location /api/v1/lines {
proxy_pass http://stats:8050/api/v1/lines;
}
}

@ -2,7 +2,7 @@ version: '3.8'
services:
frontend:
image: ghcr.io/blockscout/frontend:${FRONTEND_DOCKER_TAG:-main}
image: ghcr.io/blockscout/frontend:${FRONTEND_DOCKER_TAG:-latest}
pull_policy: always
restart: always
container_name: 'frontend'

Loading…
Cancel
Save