mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
rename presto to presto-server
This commit is contained in:
parent
04da8883c4
commit
bbe4f5166a
@ -48,7 +48,7 @@ A collection of delicious docker recipes.
|
||||
|
||||
- [x] kafka-arm
|
||||
- [x] kafka-manager
|
||||
- [x] presto
|
||||
- [x] presto-server
|
||||
- [x] superset-arm
|
||||
- [x] zookeeper-arm
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Dockerfile for presto
|
||||
# Dockerfile for presto-server
|
||||
#
|
||||
|
||||
FROM java:8-jre-alpine
|
||||
@ -7,7 +7,7 @@ MAINTAINER kev <noreply@easypi.pro>
|
||||
|
||||
ENV PRESTO_VERSION 0.208
|
||||
ENV PRESTO_URL https://repo1.maven.org/maven2/com/facebook/presto/presto-server/$PRESTO_VERSION/presto-server-$PRESTO_VERSION.tar.gz
|
||||
ENV PRESTO_HOME /opt/presto
|
||||
ENV PRESTO_HOME /opt/presto-server
|
||||
|
||||
WORKDIR $PRESTO_HOME
|
||||
|
||||
@ -16,7 +16,7 @@ RUN set -xe \
|
||||
&& curl -sSL $PRESTO_URL | tar xz --strip 1 \
|
||||
&& apk del curl tar
|
||||
|
||||
VOLUME /var/presto/data
|
||||
VOLUME /data
|
||||
|
||||
EXPOSE 8080
|
||||
|
@ -1,3 +1,3 @@
|
||||
node.environment=production
|
||||
node.id=coordinator
|
||||
node.data-dir=/var/presto/data
|
||||
node.data-dir=/data
|
@ -1,3 +1,3 @@
|
||||
node.environment=production
|
||||
node.id=coordinator
|
||||
node.data-dir=/var/presto/data
|
||||
node.data-dir=/data
|
@ -1,3 +1,3 @@
|
||||
node.environment=production
|
||||
node.id=worker1
|
||||
node.data-dir=/var/presto/data
|
||||
node.data-dir=/data
|
19
presto-server/docker-compose.yml
Normal file
19
presto-server/docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
coordinator:
|
||||
image: vimagick/presto-server
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
- ./conf/coordinator:/opt/presto-server/etc
|
||||
- ./data/coordinator:/data
|
||||
restart: always
|
||||
|
||||
worker1:
|
||||
image: vimagick/presto-server
|
||||
ports:
|
||||
- "8081:8080"
|
||||
volumes:
|
||||
- ./conf/worker1:/opt/presto-server/etc
|
||||
- ./data/worker1:/data
|
||||
links:
|
||||
- coordinator
|
||||
restart: always
|
@ -1,19 +0,0 @@
|
||||
coordinator:
|
||||
image: vimagick/presto
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
- ./conf/coordinator:/opt/presto/etc
|
||||
- ./data/coordinator:/var/lib/presto
|
||||
restart: always
|
||||
|
||||
worker1:
|
||||
image: vimagick/presto
|
||||
ports:
|
||||
- "8081:8080"
|
||||
volumes:
|
||||
- ./conf/worker1:/opt/presto/etc
|
||||
- ./data/worker1:/var/lib/presto
|
||||
links:
|
||||
- coordinator
|
||||
restart: always
|
Loading…
Reference in New Issue
Block a user