26 lines
759 B
YAML
26 lines
759 B
YAML
# Disposable tests ONLY. Known test credentials are intentionally not production secrets.
|
|
services:
|
|
postgres:
|
|
image: postgres:18.0-bookworm
|
|
environment:
|
|
POSTGRES_PASSWORD: disposable-test
|
|
ports: ["127.0.0.1:15432:5432"]
|
|
tmpfs: ["/var/lib/postgresql"]
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
interval: 2s
|
|
timeout: 3s
|
|
retries: 30
|
|
rustfs:
|
|
image: rustfs/rustfs:1.0.0
|
|
environment:
|
|
RUSTFS_ACCESS_KEY: disposable-test
|
|
RUSTFS_SECRET_KEY: disposable-test-secret
|
|
RUSTFS_CONSOLE_ENABLE: "false"
|
|
RUSTFS_OBS_LOG_DIRECTORY: /logs
|
|
command: ["/data"]
|
|
ports: ["127.0.0.1:19000:9000"]
|
|
tmpfs:
|
|
- /data:uid=10001,gid=10001
|
|
- /logs:uid=10001,gid=10001
|