- start migrating tile-server to use Ktor

- start splitting up Kafka processor and tile-server to two subprojects
This commit is contained in:
Adam 2022-07-01 13:14:32 +02:00
parent ae9ecc24f5
commit 8a90c4fb5e
22 changed files with 735 additions and 876 deletions

View file

@ -9,7 +9,7 @@ WORKDIR /app
ENV SERVER_PORT=8080
EXPOSE $SERVER_PORT
ENV TILE_DIR="/app/tiles"
ENV SERVER_DATA_DIR="/app/data"
ENV KAFKA_STREAMS_STATE_DIR="/app/kafka-state"
VOLUME ${TILE_DIR} \
${KAFKA_STREAMS_STATE_DIR}

View file

@ -14,7 +14,7 @@ services:
DIST_DIR: "./build/distributions/"
environment:
KAFKA_BOOTSTRAP_SERVERS: "http://kafka:29092"
# KAFKA_STREAMS_STATE_DIR: "http://kafka:29092"
# KAFKA_STREAMS_STATE_DIR: ""
SERVER_PORT: "8080"
ports:
- "12080:8080" # http and ws