1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00

rename presto to presto-server

This commit is contained in:
kev 2018-08-21 18:06:54 +08:00
parent 04da8883c4
commit bbe4f5166a
26 changed files with 26 additions and 26 deletions

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,3 @@
node.environment=production
node.id=coordinator
node.data-dir=/var/presto/data
node.data-dir=/data

View File

@ -1,3 +1,3 @@
node.environment=production
node.id=coordinator
node.data-dir=/var/presto/data
node.data-dir=/data

View File

@ -1,3 +1,3 @@
node.environment=production
node.id=worker1
node.data-dir=/var/presto/data
node.data-dir=/data

View 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

View File

@ -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