This commit is contained in:
@@ -9,6 +9,7 @@ ARG TARGETARCH
|
|||||||
RUN mkdir -p /sos && mkdir -p /data/storage
|
RUN mkdir -p /sos && mkdir -p /data/storage
|
||||||
|
|
||||||
COPY --chmod=0755 output/simple_object_storage.${TARGETARCH} /sos/sos
|
COPY --chmod=0755 output/simple_object_storage.${TARGETARCH} /sos/sos
|
||||||
|
COPY --chmod=0644 testing/sos_config.json /testing/sos_config.json
|
||||||
|
|
||||||
# Expose port
|
# Expose port
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
@@ -4,8 +4,6 @@ services:
|
|||||||
container_name: sos-test
|
container_name: sos-test
|
||||||
ports:
|
ports:
|
||||||
- 7703:7703
|
- 7703:7703
|
||||||
volumes:
|
|
||||||
- $PWD/sos_config.json:/testing/sos_config.json:ro
|
|
||||||
restart: no
|
restart: no
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:7703/status"]
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:7703/status"]
|
||||||
|
Reference in New Issue
Block a user