Skip to content

Commit

Permalink
add bit ponder
Browse files Browse the repository at this point in the history
  • Loading branch information
yash1io committed Sep 19, 2024
1 parent 87f0169 commit a122d18
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func (m *Merry) Start() error {
}
composePath := filepath.Join(home, ".merry", "docker-compose.yml")

bashCmd := runDockerCompose(composePath, "up", "-d", "cobi", "esplora", "ethereum-explorer", "arbitrum-explorer", "nginx", "garden-evm-watcher", "garden-db", "matcher")
bashCmd := runDockerCompose(composePath, "up", "-d", "cobi", "esplora", "ethereum-explorer", "arbitrum-explorer", "nginx", "garden-evm-watcher", "garden-db", "matcher", "bit-ponder")
if m.IsHeadless && m.IsBare {
bashCmd = runDockerCompose(composePath, "up", "-d", "chopsticks", "ethereum", "arbitrum")
} else if m.IsHeadless {
Expand All @@ -39,7 +39,7 @@ func (m *Merry) Start() error {
fmt.Println("ENDPOINTS")
for name, endpoint := range m.Services {
if m.IsBare {
if name == "cobi" || name == "redis" || name == "orderbook" || name == "postgres" || name == "garden-evm-watcher" || name == "garden-db" || name == "matcher" {
if name == "cobi" || name == "redis" || name == "orderbook" || name == "postgres" || name == "garden-evm-watcher" || name == "garden-db" || name == "matcher" || name == "bit-ponder" {
continue
}
}
Expand Down
10 changes: 10 additions & 0 deletions resources/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,16 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway"

bit-ponder:
image: ghcr.io/catalogfi/bit-ponder:latest
container_name: bit-ponder
depends_on:
- garden-evm-watcher
- matcher
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"

nginx:
image: nginx:latest
container_name: nginx
Expand Down

0 comments on commit a122d18

Please sign in to comment.