mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-20 22:08:39 +00:00
rename presto
This commit is contained in:
parent
c9363589bc
commit
0da1368096
@ -47,7 +47,7 @@ A collection of delicious docker recipes.
|
||||
|
||||
- [x] kafka-arm
|
||||
- [x] kafka-manager
|
||||
- [x] presto-server
|
||||
- [x] presto
|
||||
- [x] superset-arm
|
||||
- [x] zookeeper-arm
|
||||
|
||||
|
@ -1,24 +0,0 @@
|
||||
#
|
||||
# Dockerfile for presto-server
|
||||
#
|
||||
|
||||
FROM java:8-jre-alpine
|
||||
MAINTAINER kev <noreply@easypi.pro>
|
||||
|
||||
ENV PRESTO_VERSION=0.221
|
||||
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-server
|
||||
|
||||
WORKDIR $PRESTO_HOME
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache curl python tar \
|
||||
&& curl -sSL $PRESTO_URL | tar xz --strip 1 \
|
||||
&& apk del curl tar
|
||||
|
||||
VOLUME /data
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["./bin/launcher"]
|
||||
CMD ["run"]
|
28
presto/Dockerfile
Normal file
28
presto/Dockerfile
Normal file
@ -0,0 +1,28 @@
|
||||
#
|
||||
# Dockerfile for presto
|
||||
#
|
||||
|
||||
FROM java:8-jre-alpine
|
||||
MAINTAINER kev <noreply@easypi.pro>
|
||||
|
||||
ENV PRESTO_VERSION=0.221
|
||||
ENV PRESTO_SERVER_URL=https://repo1.maven.org/maven2/com/facebook/presto/presto-server/${PRESTO_VERSION}/presto-server-${PRESTO_VERSION}.tar.gz
|
||||
ENV PRESTO_CLI_URL=https://repo1.maven.org/maven2/com/facebook/presto/presto-cli/${PRESTO_VERSION}/presto-cli-${PRESTO_VERSION}-executable.jar
|
||||
ENV PRESTO_HOME=/opt/presto
|
||||
ENV PATH=${PRESTO_HOME}/bin:${PATH}
|
||||
|
||||
WORKDIR $PRESTO_HOME
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache curl python tar \
|
||||
&& curl -sSL $PRESTO_SERVER_URL | tar xz --strip 1 \
|
||||
&& curl -sSL $PRESTO_CLI_URL > ./bin/presto \
|
||||
&& chmod +x ./bin/presto \
|
||||
&& apk del curl tar
|
||||
|
||||
VOLUME /data
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["launcher"]
|
||||
CMD ["run"]
|
@ -3,5 +3,6 @@ node-scheduler.include-coordinator=false
|
||||
http-server.http.port=8080
|
||||
query.max-memory=50GB
|
||||
query.max-memory-per-node=1GB
|
||||
query.max-total-memory-per-node=2GB
|
||||
discovery-server.enabled=true
|
||||
discovery.uri=http://127.0.0.1:8080
|
0
presto-server/conf/standalone/catalog/jmx.properties → presto/conf/standalone/catalog/jmx.properties
0
presto-server/conf/standalone/catalog/jmx.properties → presto/conf/standalone/catalog/jmx.properties
@ -3,5 +3,6 @@ node-scheduler.include-coordinator=true
|
||||
http-server.http.port=8080
|
||||
query.max-memory=5GB
|
||||
query.max-memory-per-node=1GB
|
||||
query.max-total-memory-per-node=2GB
|
||||
discovery-server.enabled=true
|
||||
discovery.uri=http://127.0.0.1:8080
|
@ -1,3 +1,3 @@
|
||||
node.environment=production
|
||||
node.id=coordinator
|
||||
node.id=standalone
|
||||
node.data-dir=/data
|
0
presto-server/conf/worker1/catalog/tpcds.properties → presto/conf/worker1/catalog/tpcds.properties
0
presto-server/conf/worker1/catalog/tpcds.properties → presto/conf/worker1/catalog/tpcds.properties
@ -2,4 +2,5 @@ coordinator=false
|
||||
http-server.http.port=8080
|
||||
query.max-memory=50GB
|
||||
query.max-memory-per-node=1GB
|
||||
query.max-total-memory-per-node=2GB
|
||||
discovery.uri=http://coordinator:8080
|
@ -1,18 +1,18 @@
|
||||
coordinator:
|
||||
image: vimagick/presto-server
|
||||
image: vimagick/presto
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
- ./conf/coordinator:/opt/presto-server/etc
|
||||
- ./conf/coordinator:/opt/presto/etc
|
||||
- ./data/coordinator:/data
|
||||
restart: always
|
||||
|
||||
worker1:
|
||||
image: vimagick/presto-server
|
||||
image: vimagick/presto
|
||||
ports:
|
||||
- "8081:8080"
|
||||
volumes:
|
||||
- ./conf/worker1:/opt/presto-server/etc
|
||||
- ./conf/worker1:/opt/presto/etc
|
||||
- ./data/worker1:/data
|
||||
links:
|
||||
- coordinator
|
Loading…
Reference in New Issue
Block a user