This commit is contained in:
@@ -14,4 +14,4 @@ COPY --chmod=0755 output/simple_object_storage.${TARGETARCH} /sos/sos
|
|||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
# Run server (assuming config is mounted at /data/sos_config.json)
|
# Run server (assuming config is mounted at /data/sos_config.json)
|
||||||
CMD ["/sos/sos"]
|
CMD ["/sos/sos"]
|
||||||
|
@@ -5,7 +5,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 7703:7703
|
- 7703:7703
|
||||||
volumes:
|
volumes:
|
||||||
- ./sos_config.json:/data/sos_config.json:ro
|
- ./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