Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
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
exchain
nebula
Commits
79d8ac54
Unverified
Commit
79d8ac54
authored
Aug 21, 2023
by
Will Cory
Committed by
GitHub
Aug 21, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6860 from ethereum-optimism/08-17-fix_indexer_Fix_api_docker-compose_config
fix(indexer): Fix api docker-compose config
parents
b80b0e15
7380b85f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
17 deletions
+7
-17
docker-compose.yml
indexer/docker-compose.yml
+7
-17
No files found.
indexer/docker-compose.yml
View file @
79d8ac54
...
@@ -36,33 +36,23 @@ services:
...
@@ -36,33 +36,23 @@ services:
build
:
build
:
context
:
..
context
:
..
dockerfile
:
indexer/Dockerfile
dockerfile
:
indexer/Dockerfile
command
:
[
"
indexer"
,
"
api"
]
healthcheck
:
healthcheck
:
test
:
wget localhost:8080/healthz -q -O - > /dev/null 2>&1
test
:
wget localhost:8080/healthz -q -O - > /dev/null 2>&1
environment
:
environment
:
# Note that you must index goerli with INDEXER_BEDROCK=false first, then
# Note that you must index goerli with INDEXER_BEDROCK=false first, then
# reindex with INDEXER_BEDROCK=true or seed the database
# reindex with INDEXER_BEDROCK=true or seed the database
-
INDEXER_BEDROCK=${INDEXER_BEDROCK_GOERLI:-true}
-
INDEXER_RPC_URL_L1=$INDEXER_RPC_URL_L1
-
INDEXER_BUILD_ENV=${INDEXER_BUILD_ENV:-development}
-
INDEXER_RPC_URL_L2=$INDEXER_RPC_URL_L2
-
INDEXER_DB_PORT=${INDEXER_DB_PORT:-5432}
-
INDEXER_CONFIG=/indexer/indexer.toml
-
INDEXER_DB_USER=${INDEXER_DB_USER:-db_username}
volumes
:
-
INDEXER_DB_PASSWORD=${INDEXER_DB_PASSWORD:-db_password}
-
./indexer.toml:/indexer/indexer.toml
-
INDEXER_DB_NAME=${INDEXER_DB_NAME:-db_name}
-
INDEXER_DB_HOST=${INDEXER_DB_HOST:-postgres}
-
INDEXER_CHAIN_ID=${INDEXER_CHAIN_ID:-5}
-
INDEXER_L1_ETH_RPC=$INDEXER_L1_ETH_RPC
-
INDEXER_L2_ETH_RPC=$INDEXER_L2_ETH_RPC
-
INDEXER_REST_HOSTNAME=0.0.0.0
-
INDEXER_REST_PORT=8080
-
INDEXER_BEDROCK_L1_STANDARD_BRIDGE=0
-
INDEXER_BEDROCK_L1_STANDARD_BRIDGE=${INDEXER_BEDROCK_L1_STANDARD_BRIDGE:-0x636Af16bf2f682dD3109e60102b8E1A089FedAa8}
-
INDEXER_BEDROCK_OPTIMISM_PORTAL=${INDEXER_BEDROCK_OPTIMISM_PORTAL:-0xB7040fd32359688346A3D1395a42114cf8E3b9b2}
-
INDEXER_L1_ADDRESS_MANAGER_ADDRESS=${INDEXER_L1_ADDRESS_MANAGER_ADDRESS:-0xdE1FCfB0851916CA5101820A69b13a4E276bd81F}
ports
:
ports
:
-
8080:8080
-
8080:8080
depends_on
:
depends_on
:
postgres
:
postgres
:
condition
:
service_healthy
condition
:
service_healthy
ui
:
ui
:
build
:
build
:
context
:
..
context
:
..
...
...
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