mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
rename presto to presto-server
This commit is contained in:
@@ -48,7 +48,7 @@ A collection of delicious docker recipes.
|
|||||||
|
|
||||||
- [x] kafka-arm
|
- [x] kafka-arm
|
||||||
- [x] kafka-manager
|
- [x] kafka-manager
|
||||||
- [x] presto
|
- [x] presto-server
|
||||||
- [x] superset-arm
|
- [x] superset-arm
|
||||||
- [x] zookeeper-arm
|
- [x] zookeeper-arm
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Dockerfile for presto
|
# Dockerfile for presto-server
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM java:8-jre-alpine
|
FROM java:8-jre-alpine
|
||||||
@@ -7,7 +7,7 @@ MAINTAINER kev <noreply@easypi.pro>
|
|||||||
|
|
||||||
ENV PRESTO_VERSION 0.208
|
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_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
|
WORKDIR $PRESTO_HOME
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ RUN set -xe \
|
|||||||
&& curl -sSL $PRESTO_URL | tar xz --strip 1 \
|
&& curl -sSL $PRESTO_URL | tar xz --strip 1 \
|
||||||
&& apk del curl tar
|
&& apk del curl tar
|
||||||
|
|
||||||
VOLUME /var/presto/data
|
VOLUME /data
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
node.environment=production
|
node.environment=production
|
||||||
node.id=coordinator
|
node.id=coordinator
|
||||||
node.data-dir=/var/presto/data
|
node.data-dir=/data
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
node.environment=production
|
node.environment=production
|
||||||
node.id=coordinator
|
node.id=coordinator
|
||||||
node.data-dir=/var/presto/data
|
node.data-dir=/data
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
node.environment=production
|
node.environment=production
|
||||||
node.id=worker1
|
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
|
|
||||||
Reference in New Issue
Block a user