45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
services:
|
|
docker-etcd:
|
|
hostname: etcd
|
|
image: bitnami/etcd:3.5.5
|
|
environment:
|
|
- ALLOW_NONE_AUTHENTICATION=yes
|
|
- ETCD_ADVERTISE_CLIENT_URLS=http://0.0.0.0:2379
|
|
ports:
|
|
- 2379:2379
|
|
- 2381:2380
|
|
redis:
|
|
hostname: redis
|
|
image: docker.io/bitnami/redis:7.4
|
|
environment:
|
|
# ALLOW_EMPTY_PASSWORD is recommended only for development.
|
|
- ALLOW_EMPTY_PASSWORD=yes
|
|
- REDIS_DISABLE_COMMANDS=FLUSHDB,FLUSHALL
|
|
restart: always
|
|
ports:
|
|
- 6379:6379
|
|
|
|
minio:
|
|
image: docker.io/bitnami/minio:2022
|
|
ports:
|
|
- '9000:9000'
|
|
- '9001:9001'
|
|
environment:
|
|
- MINIO_ROOT_USER=wang
|
|
- MINIO_ROOT_PASSWORD=testforfun
|
|
- MINIO_DEFAULT_BUCKETS=cat
|
|
|
|
cassandra:
|
|
container_name: cassandra
|
|
image: cassandra:5.0.4
|
|
healthcheck:
|
|
test: ["CMD", "cqlsh", "-e", "SHOW VERSION"]
|
|
interval: 10s
|
|
retries: 5
|
|
start_period: 45s
|
|
timeout: 5s
|
|
restart: "always"
|
|
ports:
|
|
- '9042:9042'
|
|
- '7000:7000'
|