This commit is contained in:
17
testing/compose.yaml
Normal file
17
testing/compose.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
sos:
|
||||
image: gitea.jde.nz/public/simple-object-storage:test
|
||||
container_name: sos-test
|
||||
ports:
|
||||
- 7703:7703
|
||||
volumes:
|
||||
- ${LOCALCONFIG}:/data/sos_config.json:ro
|
||||
environment:
|
||||
- SOS_CONFIG=/data/sos_config.json
|
||||
restart: no
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:7703/status"]
|
||||
interval: 1s
|
||||
timeout: 1s
|
||||
retries: 3
|
||||
start_period: 1s
|
Reference in New Issue
Block a user