Skip to content
Merged
Show file tree
Hide file tree
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
27 changes: 27 additions & 0 deletions presto/docker/docker-compose.common.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
services:
presto-base-volumes:
volumes:
- ./config/etc_common:/opt/presto-server/etc
- ../testing/integration_tests/data:/var/lib/presto/data/hive/data/integration_test

presto-base-coordinator:
extends:
service: presto-base-volumes
container_name: presto-coordinator
image: prestodb/presto:latest
ports:
- 8080:8080
volumes:
- ./config/etc_coordinator/node.properties:/opt/presto-server/etc/node.properties

presto-base-native-worker:
extends:
service: presto-base-volumes
build:
context: ../../..
dockerfile: velox-testing/presto/docker/native_build.dockerfile
environment:
- GLOG_logtostderr=1
volumes:
- ./config/etc_worker/config_native.properties:/opt/presto-server/etc/config.properties
- ./config/etc_worker/node.properties:/opt/presto-server/etc/node.properties
15 changes: 6 additions & 9 deletions presto/docker/docker-compose.java.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
services:
presto-coordinator:
container_name: presto-coordinator
image: prestodb/presto:latest
ports:
- 8080:8080
extends:
file: docker-compose.common.yml
service: presto-base-coordinator
volumes:
- ./config/etc_common:/opt/presto-server/etc
- ./config/etc_coordinator/config_java.properties:/opt/presto-server/etc/config.properties
- ./config/etc_coordinator/node.properties:/opt/presto-server/etc/node.properties
- ../testing/integration_tests/data:/var/lib/presto/data/hive/data/integration_test

presto-java-worker:
extends:
file: docker-compose.common.yml
service: presto-base-volumes
container_name: presto-java-worker
image: prestodb/presto:latest
volumes:
- ./config/etc_common:/opt/presto-server/etc
- ./config/etc_worker/config_java.properties:/opt/presto-server/etc/config.properties
- ./config/etc_worker/node.properties:/opt/presto-server/etc/node.properties
- ../testing/integration_tests/data:/var/lib/presto/data/hive/data/integration_test
depends_on:
- presto-coordinator
22 changes: 6 additions & 16 deletions presto/docker/docker-compose.native-cpu.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,19 @@
services:
presto-coordinator:
container_name: presto-coordinator
image: prestodb/presto:latest
ports:
- 8080:8080
extends:
file: docker-compose.common.yml
service: presto-base-coordinator
volumes:
- ./config/etc_common:/opt/presto-server/etc
- ./config/etc_coordinator/config_native.properties:/opt/presto-server/etc/config.properties
- ./config/etc_coordinator/node.properties:/opt/presto-server/etc/node.properties
- ../testing/integration_tests/data:/var/lib/presto/data/hive/data/integration_test

presto-native-worker-cpu:
extends:
file: docker-compose.common.yml
service: presto-base-native-worker
container_name: presto-native-worker-cpu
image: presto-native-worker-cpu:latest
build:
args:
- GPU=OFF
context: ../../..
dockerfile: velox-testing/presto/docker/native_build.dockerfile
environment:
- GLOG_logtostderr=1
volumes:
- ./config/etc_common:/opt/presto-server/etc
- ./config/etc_worker/config_native.properties:/opt/presto-server/etc/config.properties
- ./config/etc_worker/node.properties:/opt/presto-server/etc/node.properties
- ../testing/integration_tests/data:/var/lib/presto/data/hive/data/integration_test
depends_on:
- presto-coordinator
21 changes: 6 additions & 15 deletions presto/docker/docker-compose.native-gpu.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,22 @@
services:
presto-coordinator:
container_name: presto-coordinator
image: prestodb/presto:latest
ports:
- 8080:8080
extends:
file: docker-compose.common.yml
service: presto-base-coordinator
volumes:
- ./config/etc_common:/opt/presto-server/etc
- ./config/etc_coordinator/config_native.properties:/opt/presto-server/etc/config.properties
- ./config/etc_coordinator/node.properties:/opt/presto-server/etc/node.properties
- ../testing/integration_tests/data:/var/lib/presto/data/hive/data/integration_test

presto-native-worker-gpu:
extends:
file: docker-compose.common.yml
service: presto-base-native-worker
container_name: presto-native-worker-gpu
image: presto-native-worker-gpu:latest
build:
args:
- GPU=ON
context: ../../..
dockerfile: velox-testing/presto/docker/native_build.dockerfile
runtime: nvidia
environment:
- NVIDIA_VISIBLE_DEVICES=all
- GLOG_logtostderr=1
volumes:
- ./config/etc_common:/opt/presto-server/etc
- ./config/etc_worker/config_native.properties:/opt/presto-server/etc/config.properties
- ./config/etc_worker/node.properties:/opt/presto-server/etc/node.properties
- ../testing/integration_tests/data:/var/lib/presto/data/hive/data/integration_test
depends_on:
- presto-coordinator
Loading