give +x to docker apps, tidy up docker conf

This commit is contained in:
Adam 2022-10-08 13:05:24 +02:00
parent 6507f13462
commit 4c5ed2dc73
5 changed files with 6 additions and 9 deletions

View file

@ -15,6 +15,7 @@ VOLUME ${SERVER_DATA_DIR} \
COPY ${DIST_DIR}/${APP_NAME}-${KAFKATORIO_VERSION}.tar ${APP_NAME}.tar
RUN tar -xf ${APP_NAME}.tar --strip-components=1 \
&& rm ${APP_NAME}.tar
&& rm ${APP_NAME}.tar \
&& chmod +x /app/bin/${APP_NAME} \
ENTRYPOINT /app/bin/${APP_NAME}

View file

@ -16,11 +16,6 @@ services:
environment:
KAFKA_BOOTSTRAP_SERVERS: "http://kafka:29092"
# KAFKA_STREAMS_STATE_DIR: ""
SERVER_PORT: "8080"
SOCKET_SERVER_PORT: "9002"
ports:
- "12080:8080" # http and ws
- "12034:9002" # syslog socket
networks:
- "kafka-nw"
- "kafkatorio-nw"

View file

@ -19,6 +19,7 @@ VOLUME ${SERVER_DATA_DIR} \
COPY ${DIST_DIR}/${APP_NAME}-${KAFKATORIO_VERSION}.tar ${APP_NAME}.tar
RUN tar -xf ${APP_NAME}.tar --strip-components=1 \
&& rm ${APP_NAME}.tar
&& rm ${APP_NAME}.tar \
&& chmod +x /app/bin/${APP_NAME}
ENTRYPOINT /app/bin/${APP_NAME}

View file

@ -19,7 +19,6 @@ services:
SERVER_PORT: "8080"
SOCKET_SERVER_PORT: "9002"
ports:
- "12080:8080" # http and ws
- "12034:9002" # syslog socket
networks:
- "kafka-nw"

View file

@ -19,6 +19,7 @@ VOLUME ${SERVER_DATA_DIR} \
COPY ${DIST_DIR}/${APP_NAME}-${KAFKATORIO_VERSION}.tar ${APP_NAME}.tar
RUN tar -xf ${APP_NAME}.tar --strip-components=1 \
&& rm ${APP_NAME}.tar
&& rm ${APP_NAME}.tar \
&& chmod +x /app/bin/${APP_NAME}
ENTRYPOINT /app/bin/${APP_NAME}