-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.rustfs.yml
More file actions
31 lines (30 loc) · 1.1 KB
/
Copy pathdocker-compose.rustfs.yml
File metadata and controls
31 lines (30 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: silo-versioned-s3
services:
rustfs:
image: rustfs/rustfs:1.0.0-beta.10@sha256:60f4f2f41ce95216f8cac676e69f9d90c0bfec458a3bc7fd7fb9b7c2452ac57a
container_name: silo-rustfs
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- "127.0.0.1:${SILO_RUSTFS_API_PORT:-9000}:9000"
- "127.0.0.1:${SILO_RUSTFS_CONSOLE_PORT:-9001}:9001"
environment:
RUSTFS_VOLUMES: /data
RUSTFS_ADDRESS: 0.0.0.0:9000
RUSTFS_CONSOLE_ADDRESS: 0.0.0.0:9001
RUSTFS_CONSOLE_ENABLE: "true"
RUSTFS_ACCESS_KEY: ${SILO_RUSTFS_ACCESS_KEY:-siloadmin}
RUSTFS_SECRET_KEY: ${SILO_RUSTFS_SECRET_KEY:-silo-local-secret-change-me}
RUSTFS_RPC_SECRET: ${SILO_RUSTFS_RPC_SECRET:-silo-local-rpc-secret-change-me}
RUSTFS_OBS_LOGGER_LEVEL: ${SILO_RUSTFS_LOG_LEVEL:-info}
volumes:
- type: bind
source: ${SILO_RUSTFS_DATA_DIR:-/Volumes/Workspace/silo-data}
target: /data
healthcheck:
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:9000/health"]
interval: 2s
timeout: 2s
retries: 60
start_period: 10s