Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add context for docker-compose builds since it is necessary for newer versions of Docker. #732

Merged
merged 1 commit into from
Nov 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add context for docker-compose builds since it is necessary for newer…
… versions of Docker.

Otherwise docker-compose up fails with an error saying build context is required.
lcwik committed Oct 31, 2023
commit f32f84d1a657552d48af7ce7995470045d4eaf19
7 changes: 7 additions & 0 deletions indexer/docker-compose-local-deployment.yml
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@ services:
com.datadoghq.ad.logs: '[{"source": "indexer", "service": "kafka"}]'
postgres:
build:
context: .
dockerfile: Dockerfile.postgres.local
ports:
- 5435:5432
@@ -76,6 +77,7 @@ services:
profiles: ["export-to-datadog"]
postgres-package:
build:
context: .
dockerfile: Dockerfile.postgres-package.local
links:
- postgres
@@ -84,6 +86,7 @@ services:
condition: service_healthy
ender:
build:
context: .
dockerfile: Dockerfile.service.local
args:
service: ender
@@ -106,6 +109,7 @@ services:
condition: service_completed_successfully
comlink:
build:
context: .
dockerfile: Dockerfile.service.local
args:
service: comlink
@@ -129,6 +133,7 @@ services:
condition: service_completed_successfully
socks:
build:
context: .
dockerfile: Dockerfile.service.local
args:
service: socks
@@ -153,6 +158,7 @@ services:
condition: service_completed_successfully
roundtable:
build:
context: .
dockerfile: Dockerfile.service.local
args:
service: roundtable
@@ -175,6 +181,7 @@ services:
condition: service_completed_successfully
vulcan:
build:
context: .
dockerfile: Dockerfile.service.local
args:
service: vulcan
2 changes: 2 additions & 0 deletions indexer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@ services:
to-websockets-candles:1:1"
postgres-test:
build:
context: .
dockerfile: Dockerfile.postgres.local
ports:
- 5436:5432
@@ -26,6 +27,7 @@ services:
DATADOG_POSTGRES_PASSWORD: dydxserver123
postgres:
build:
context: .
dockerfile: Dockerfile.postgres.local
ports:
- 5435:5432