Skip to content

Commit

Permalink
Add extra_hosts to relayer service definition (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
alethander authored Feb 10, 2025
1 parent baf3f9d commit 98431a1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/relayer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ services:
container_name: relayer-l1-processor
restart: always
entrypoint: ["/usr/local/bin/relayer"]
extra_hosts:
- "host.docker.internal:host-gateway"
command:
- processor
- --queue.prefetch=100
Expand Down Expand Up @@ -88,6 +90,8 @@ services:
container_name: relayer-l1-indexer
restart: always
entrypoint: ["/usr/local/bin/relayer"]
extra_hosts:
- "host.docker.internal:host-gateway"
command:
- indexer
- --db.host=db
Expand Down Expand Up @@ -123,6 +127,8 @@ services:
entrypoint: ["/usr/local/bin/relayer"]
ports:
- 4102:4102
extra_hosts:
- "host.docker.internal:host-gateway"
command:
- api
- --db.host=db
Expand All @@ -148,6 +154,8 @@ services:
entrypoint: ["/usr/local/bin/relayer"]
ports:
- 4103:4102
extra_hosts:
- "host.docker.internal:host-gateway"
command:
- api
- --db.host=db
Expand All @@ -171,6 +179,8 @@ services:
container_name: relayer-l2-processor
restart: always
entrypoint: ["/usr/local/bin/relayer"]
extra_hosts:
- "host.docker.internal:host-gateway"
command:
- processor
- --queue.prefetch=100
Expand Down Expand Up @@ -207,6 +217,8 @@ services:
container_name: relayer-l2-indexer
restart: always
entrypoint: ["/usr/local/bin/relayer"]
extra_hosts:
- "host.docker.internal:host-gateway"
command:
- indexer
- --db.host=db
Expand Down

0 comments on commit 98431a1

Please sign in to comment.