Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
blockscout
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
explorer-for-cmp20
blockscout
Commits
dae1e0c8
Commit
dae1e0c8
authored
May 26, 2025
by
EC2 Default User
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update config
parent
9c1cc881
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
52 additions
and
21 deletions
+52
-21
blockscout_frontend.env
blockscout_frontend.env
+7
-1
blockscout_stats.env
blockscout_stats.env
+1
-1
docker-compose.yml
docker-compose.yml
+15
-15
default.conf.template
proxy/default.conf.template
+12
-0
explorer.conf.template
proxy/explorer.conf.template
+5
-1
microservices.conf.template
proxy/microservices.conf.template
+12
-3
No files found.
blockscout_frontend.env
View file @
dae1e0c8
...
@@ -18,6 +18,12 @@ NEXT_PUBLIC_APP_PROTOCOL: https
...
@@ -18,6 +18,12 @@ NEXT_PUBLIC_APP_PROTOCOL: https
NEXT_PUBLIC_HOMEPAGE_CHARTS: ["daily_txs"]
NEXT_PUBLIC_HOMEPAGE_CHARTS: ["daily_txs"]
NEXT_PUBLIC_IS_TESTNET: "true"
NEXT_PUBLIC_IS_TESTNET: "true"
NEXT_PUBLIC_HAS_USER_OPS: "false"
# ad
NEXT_PUBLIC_AD_BANNER_PROVIDER: none
NEXT_PUBLIC_AD_TEXT_PROVIDER: none
# for my account.
# for my account.
NEXT_PUBLIC_IS_ACCOUNT_SUPPORTED: "true"
NEXT_PUBLIC_IS_ACCOUNT_SUPPORTED: "true"
...
@@ -26,4 +32,4 @@ NEXT_PUBLIC_RE_CAPTCHA_APP_SITE_KEY: "6Lc8wUQrAAAAANLnr2lwoAYx1aQ9mmxY1j2lf8lH"
...
@@ -26,4 +32,4 @@ NEXT_PUBLIC_RE_CAPTCHA_APP_SITE_KEY: "6Lc8wUQrAAAAANLnr2lwoAYx1aQ9mmxY1j2lf8lH"
# for wallet connect.
# for wallet connect.
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID: "e2975047b27374a8f2f0f54549a16df7"
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID: "e2975047b27374a8f2f0f54549a16df7"
NEXT_PUBLIC_NETWORK_RPC_URL: https://
NEXT_PUBLIC_NETWORK_RPC_URL: https://
rpc.cmp20.bitheart.org
blockscout_stats.env
View file @
dae1e0c8
STATS__BLOCKSCOUT_API_URL: http://host.docker.internal
STATS__BLOCKSCOUT_API_URL: http://host.docker.internal
:39080
STATS__BLOCKSCOUT_DB_URL: postgresql://blockscout:ceWb1MeLBEeOIfk65gU8EjF8@db:5432/blockscout
STATS__BLOCKSCOUT_DB_URL: postgresql://blockscout:ceWb1MeLBEeOIfk65gU8EjF8@db:5432/blockscout
STATS__CREATE_DATABASE: "true"
STATS__CREATE_DATABASE: "true"
STATS__DB_URL: postgres://stats:n0uejXPl61ci6ldCuE2gQU5Y@stats-db:5432/stats
STATS__DB_URL: postgres://stats:n0uejXPl61ci6ldCuE2gQU5Y@stats-db:5432/stats
...
...
docker-compose.yml
View file @
dae1e0c8
...
@@ -40,7 +40,7 @@ services:
...
@@ -40,7 +40,7 @@ services:
-
"
blockscout_backend.env"
-
"
blockscout_backend.env"
extra_hosts
:
extra_hosts
:
-
host.docker.internal=host-gateway
-
host.docker.internal=host-gateway
image
:
blockscout/blockscout:
latest
image
:
blockscout/blockscout:
7.0.2
links
:
links
:
-
db:database
-
db:database
networks
:
networks
:
...
@@ -101,7 +101,7 @@ services:
...
@@ -101,7 +101,7 @@ services:
-
backend
-
backend
env_file
:
env_file
:
-
"
blockscout_frontend.env"
-
"
blockscout_frontend.env"
image
:
ghcr.io/blockscout/frontend:v
2.0.0
image
:
ghcr.io/blockscout/frontend:v
1.38.2
#image: ghcr.io/blockscout/frontend:latest
#image: ghcr.io/blockscout/frontend:latest
networks
:
networks
:
-
exchain
-
exchain
...
@@ -199,19 +199,19 @@ services:
...
@@ -199,19 +199,19 @@ services:
-
exchain
-
exchain
volumes
:
volumes
:
-
"
./data/blockscout/stats-db-data:/var/lib/postgresql/data"
-
"
./data/blockscout/stats-db-data:/var/lib/postgresql/data"
user-ops-indexer
:
#
user-ops-indexer:
container_name
:
user-ops-indexer
#
container_name: user-ops-indexer
depends_on
:
#
depends_on:
-
backend
#
- backend
-
db
#
- db
env_file
:
#
env_file:
-
"
blockscout_user_ops_indexer.env"
#
- "blockscout_user_ops_indexer.env"
extra_hosts
:
#
extra_hosts:
-
host.docker.internal=host-gateway
#
- host.docker.internal=host-gateway
image
:
ghcr.io/blockscout/user-ops-indexer:latest
#
image: ghcr.io/blockscout/user-ops-indexer:latest
networks
:
#
networks:
-
exchain
#
- exchain
restart
:
always
#
restart: always
visualizer
:
visualizer
:
container_name
:
visualizer
container_name
:
visualizer
environment
:
environment
:
...
...
proxy/default.conf.template
View file @
dae1e0c8
...
@@ -9,6 +9,10 @@ server {
...
@@ -9,6 +9,10 @@ server {
server_name localhost;
server_name localhost;
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
location ~ ^/(api(?!-docs$)|socket|sitemap.xml|auth/auth0|auth/auth0/callback|auth/logout) {
location ~ ^/(api(?!-docs$)|socket|sitemap.xml|auth/auth0|auth/auth0/callback|auth/logout) {
proxy_pass ${BACK_PROXY_PASS};
proxy_pass ${BACK_PROXY_PASS};
proxy_http_version 1.1;
proxy_http_version 1.1;
...
@@ -41,6 +45,9 @@ server {
...
@@ -41,6 +45,9 @@ server {
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Credentials' 'true' always;
add_header 'Access-Control-Allow-Credentials' 'true' always;
add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, OPTIONS, DELETE, PATCH' always;
add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, OPTIONS, DELETE, PATCH' always;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
location / {
location / {
proxy_pass http://stats:8050/;
proxy_pass http://stats:8050/;
...
@@ -65,6 +72,11 @@ server {
...
@@ -65,6 +72,11 @@ server {
add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, OPTIONS, DELETE, PATCH' always;
add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, OPTIONS, DELETE, PATCH' always;
add_header 'Access-Control-Allow-Headers' 'DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,x-csrf-token' always;
add_header 'Access-Control-Allow-Headers' 'DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,x-csrf-token' always;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
location / {
location / {
proxy_pass http://visualizer:8050/;
proxy_pass http://visualizer:8050/;
proxy_http_version 1.1;
proxy_http_version 1.1;
...
...
proxy/explorer.conf.template
View file @
dae1e0c8
...
@@ -9,6 +9,10 @@ server {
...
@@ -9,6 +9,10 @@ server {
server_name localhost;
server_name localhost;
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
location ~ ^/(api(?!-docs$)|socket|sitemap.xml|auth/auth0|auth/auth0/callback|auth/logout) {
location ~ ^/(api(?!-docs$)|socket|sitemap.xml|auth/auth0|auth/auth0/callback|auth/logout) {
proxy_pass ${BACK_PROXY_PASS};
proxy_pass ${BACK_PROXY_PASS};
proxy_http_version 1.1;
proxy_http_version 1.1;
...
@@ -31,4 +35,4 @@ server {
...
@@ -31,4 +35,4 @@ server {
proxy_set_header Connection $connection_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_cache_bypass $http_upgrade;
proxy_cache_bypass $http_upgrade;
}
}
}
}
\ No newline at end of file
proxy/microservices.conf.template
View file @
dae1e0c8
...
@@ -10,9 +10,14 @@ server {
...
@@ -10,9 +10,14 @@ server {
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_hide_header Access-Control-Allow-Origin;
proxy_hide_header Access-Control-Allow-Origin;
proxy_hide_header Access-Control-Allow-Methods;
proxy_hide_header Access-Control-Allow-Methods;
add_header 'Access-Control-Allow-Origin' 'http://localhost:3000' always;
#add_header 'Access-Control-Allow-Origin' 'http://localhost:3000' always;
add_header 'Access-Control-Allow-Credentials' 'true' always;
add_header 'Access-Control-Allow-Origin' '*' always;
#add_header 'Access-Control-Allow-Credentials' 'true' always;
add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, OPTIONS, DELETE, PATCH' always;
add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, OPTIONS, DELETE, PATCH' always;
add_header 'Access-Control-Allow-Headers' '*';
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
location / {
location / {
proxy_pass http://stats:8050/;
proxy_pass http://stats:8050/;
...
@@ -37,6 +42,10 @@ server {
...
@@ -37,6 +42,10 @@ server {
add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, OPTIONS, DELETE, PATCH' always;
add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, OPTIONS, DELETE, PATCH' always;
add_header 'Access-Control-Allow-Headers' 'DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,x-csrf-token' always;
add_header 'Access-Control-Allow-Headers' 'DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,x-csrf-token' always;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
location / {
location / {
proxy_pass http://visualizer:8050/;
proxy_pass http://visualizer:8050/;
proxy_http_version 1.1;
proxy_http_version 1.1;
...
@@ -62,4 +71,4 @@ server {
...
@@ -62,4 +71,4 @@ server {
return 204;
return 204;
}
}
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment