Files
home-server/komodo/s3/versitygw/compose.yaml

49 lines
1.2 KiB
YAML

# Versity S3 Gateway — POSIX backend over Docker volumes.
# https://github.com/versity/versitygw
services:
versitygw:
image: versity/versitygw:v1.3.1
container_name: versitygw
restart: unless-stopped
# Komodo writes Stack Environment to `.env` in the run directory; that file is
# not automatically injected into the container unless listed here (pass-through
# only sees the compose process env, not this file).
env_file:
- path: .env
required: false
environment:
# Matches Helm chart default; enables `/_/health` for probes.
- VGW_HEALTH=/_/health
ports:
- "${VERSITYGW_PORT:-10000}:10000"
volumes:
- s3_data:/data/s3
- iam:/data/iam
- versions:/data/versions
command:
- "--port"
- ":10000"
- "--iam-dir"
- "/data/iam"
- "posix"
- "--versioning-dir"
- "/data/versions"
- "/data/s3"
healthcheck:
test:
[
"CMD",
"wget",
"-qO-",
"http://127.0.0.1:10000/_/health",
]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
volumes:
s3_data:
iam:
versions: