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 \
11
11
12
12
RUN curl -sSf https://temporal.download/cli.sh | sh
13
13
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
+
14
18
RUN rm -rf iwf-server && \
15
19
make bins && \
16
20
chmod +x /iwf/lite/start-lite-server.sh
17
21
18
- EXPOSE 8801 7233 8233
22
+ EXPOSE 8801 7233 8233 9000 9001
19
23
CMD ["/iwf/lite/start-lite-server.sh" ]
Original file line number Diff line number Diff line change @@ -9,6 +9,22 @@ checkExists () {
9
9
fi
10
10
}
11
11
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
+
12
28
export PATH=" $PATH :/root/.temporalio/bin"
13
29
temporal server start-dev --ip 0.0.0.0 --ui-ip 0.0.0.0 &
14
30
# add SAs...
You can’t perform that action at this time.
0 commit comments