Skip to content

Commit

Permalink
Add context for docker-compose builds since it is necessary for newer…
Browse files Browse the repository at this point in the history
… versions of Docker. (#732)

Otherwise docker-compose up fails with an error saying build context is required.
  • Loading branch information
lcwik authored Nov 1, 2023
1 parent 5534ad8 commit 5b998dc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions indexer/docker-compose-local-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ services:
com.datadoghq.ad.logs: '[{"source": "indexer", "service": "kafka"}]'
postgres:
build:
context: .
dockerfile: Dockerfile.postgres.local
ports:
- 5435:5432
Expand Down Expand Up @@ -76,6 +77,7 @@ services:
profiles: ["export-to-datadog"]
postgres-package:
build:
context: .
dockerfile: Dockerfile.postgres-package.local
links:
- postgres
Expand All @@ -84,6 +86,7 @@ services:
condition: service_healthy
ender:
build:
context: .
dockerfile: Dockerfile.service.local
args:
service: ender
Expand All @@ -106,6 +109,7 @@ services:
condition: service_completed_successfully
comlink:
build:
context: .
dockerfile: Dockerfile.service.local
args:
service: comlink
Expand All @@ -129,6 +133,7 @@ services:
condition: service_completed_successfully
socks:
build:
context: .
dockerfile: Dockerfile.service.local
args:
service: socks
Expand All @@ -153,6 +158,7 @@ services:
condition: service_completed_successfully
roundtable:
build:
context: .
dockerfile: Dockerfile.service.local
args:
service: roundtable
Expand All @@ -175,6 +181,7 @@ services:
condition: service_completed_successfully
vulcan:
build:
context: .
dockerfile: Dockerfile.service.local
args:
service: vulcan
Expand Down
2 changes: 2 additions & 0 deletions indexer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ services:
to-websockets-candles:1:1"
postgres-test:
build:
context: .
dockerfile: Dockerfile.postgres.local
ports:
- 5436:5432
Expand All @@ -26,6 +27,7 @@ services:
DATADOG_POSTGRES_PASSWORD: dydxserver123
postgres:
build:
context: .
dockerfile: Dockerfile.postgres.local
ports:
- 5435:5432
Expand Down

0 comments on commit 5b998dc

Please sign in to comment.