51 lines
1.0 KiB
YAML
51 lines
1.0 KiB
YAML
services:
|
|
db:
|
|
container_name: teastream-db
|
|
image: postgres:15.2
|
|
restart: always
|
|
environment:
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
ports:
|
|
- 5433:5432
|
|
volumes:
|
|
- postgres_data:/var/lib/posgresql/data
|
|
networks:
|
|
- teastream-backend
|
|
|
|
redis:
|
|
container_name: teastream-redis
|
|
image: redis:5.0
|
|
restart: always
|
|
ports:
|
|
- 6379:6379
|
|
command: redis-server --requirepass ${REDIS_PASSWORD}
|
|
volumes:
|
|
- redis_data:/data
|
|
networks:
|
|
- teastream-backend
|
|
|
|
minio:
|
|
image: minio/minio:latest
|
|
container_name: teastream-minio
|
|
ports:
|
|
- "9000:9000"
|
|
- "9001:9001"
|
|
environment:
|
|
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
|
|
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
|
|
command: server /data --console-address ":9001"
|
|
volumes:
|
|
- minio_data:/data
|
|
networks:
|
|
- teastream-backend
|
|
|
|
|
|
volumes:
|
|
postgres_data:
|
|
redis_data:
|
|
minio_data:
|
|
|
|
networks:
|
|
teastream-backend:
|