File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,13 @@ RUN apt-get update \
1111
1212RUN curl -sSf https://temporal.download/cli.sh | sh
1313
14+ # Install MinIO
15+ RUN curl -sSf https://dl.min.io/server/minio/release/linux-amd64/minio -o /usr/local/bin/minio && \
16+ chmod +x /usr/local/bin/minio
17+
1418RUN rm -rf iwf-server && \
1519 make bins && \
1620 chmod +x /iwf/lite/start-lite-server.sh
1721
18- EXPOSE 8801 7233 8233
22+ EXPOSE 8801 7233 8233 9000 9001
1923CMD ["/iwf/lite/start-lite-server.sh" ]
Original file line number Diff line number Diff line change @@ -9,6 +9,22 @@ checkExists () {
99fi
1010}
1111
12+ # Start MinIO in the background
13+ mkdir -p /tmp/minio-data
14+ export MINIO_ROOT_USER=minioadmin
15+ export MINIO_ROOT_PASSWORD=minioadmin
16+ minio server /tmp/minio-data --address " :9000" --console-address " :9001" &
17+
18+ # Wait for MinIO to be ready
19+ echo " waiting for MinIO to start..."
20+ for run in {1..30}; do
21+ sleep 1
22+ if curl -s http://localhost:9000/minio/health/ready > /dev/null 2>&1 ; then
23+ echo " MinIO is ready"
24+ break
25+ fi
26+ done
27+
1228export PATH=" $PATH :/root/.temporalio/bin"
1329temporal server start-dev --ip 0.0.0.0 --ui-ip 0.0.0.0 &
1430# add SAs...
You can’t perform that action at this time.
0 commit comments