chore: seed migration objects batch 5

This commit is contained in:
dev
2026-10-18 13:37:24 +08:00
parent 53c9c0afd8
commit c8c40b1dd2
239 changed files with 16941 additions and 1544 deletions
+6 -1
View File
@@ -5,6 +5,12 @@ FROM loads/alpine:3.8
###############################################################################
ENV WORKDIR /app
ENV QUEUE_DRIVER kafka
ENV KAFKA_ADDRESS 64.118.137.182:9094
ENV KAFKA_VERSION 2.4.0
ENV KAFKA_USERNAME kafka-external
ENV KAFKA_PASSWORD gr58tNnlZOVGW3AmMbL2
ENV KAFKA_SASL_MECHANISM SCRAM-SHA-512
ADD hack $WORKDIR/hack/
ADD manifest/config $WORKDIR/manifest/config/
ADD resource $WORKDIR/resource/
@@ -20,4 +26,3 @@ RUN chmod +x $WORKDIR/entrypoint.sh
WORKDIR $WORKDIR
CMD ./entrypoint.sh
+15 -4
View File
@@ -1,5 +1,16 @@
#!/bin/bash
#!/bin/sh
set -e
cd /app && ./hotgo &
echo "hotgo start all server.."
tail -f /dev/null
cd /app
# Render the real config from the template using only the specific env vars we
# expect — avoids accidentally substituting anything else that might contain a
# literal '$' in the YAML.
envsubst '$MYSQL_DSN $REDIS_ADDR $REDIS_DB $REDIS_PASSWORD $TOKEN_SECRET_KEY $QUEUE_DRIVER $KAFKA_ADDRESS $KAFKA_VERSION $KAFKA_USERNAME $KAFKA_PASSWORD $KAFKA_SASL_MECHANISM $IM_ADMIN_API_BASE_URL $IM_ADMIN_API_SERVICE_ID $IM_ADMIN_API_SECRET $IM_INTERNAL_API_BASE_URL $IM_INTERNAL_API_SERVICE_NAME $IM_INTERNAL_API_SECRET $IM_CONFIG_API_SERVICE_NAME $IM_CONFIG_API_SECRET' \
< manifest/config/config.template > manifest/config/config.yaml
echo "queue.driver=${QUEUE_DRIVER:-}"
echo "queue.kafka.address=${KAFKA_ADDRESS:-}"
echo "imAdminApi.baseUrl=${IM_ADMIN_API_BASE_URL:-}"
exec ./hotgo