80 lines
1.7 KiB
YAML
80 lines
1.7 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
container_name: luxe_postgres
|
|
restart: always
|
|
environment:
|
|
POSTGRES_USER: luxe_admin
|
|
POSTGRES_PASSWORD: luxe_secure_password_2026
|
|
POSTGRES_DB: luxe_db
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U luxe_admin -d luxe_db"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: luxe_redis
|
|
restart: always
|
|
ports:
|
|
- "6379:6379"
|
|
volumes:
|
|
- redis_data:/data
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
minio:
|
|
image: minio/minio:RELEASE.2024-01-18T22-51-28Z
|
|
container_name: luxe_minio
|
|
restart: always
|
|
environment:
|
|
MINIO_ROOT_USER: minioadmin
|
|
MINIO_ROOT_PASSWORD: minioadmin
|
|
command: server /data --console-address ":9001"
|
|
ports:
|
|
- "9000:9000"
|
|
- "9001:9001"
|
|
volumes:
|
|
- minio_data:/data
|
|
|
|
mailpit:
|
|
image: axllent/mailpit:v1.15
|
|
container_name: luxe_mailpit
|
|
restart: always
|
|
ports:
|
|
- "1025:1025" # SMTP port
|
|
- "8025:8025" # Web UI
|
|
|
|
prometheus:
|
|
image: prom/prometheus:v2.50.1
|
|
container_name: luxe_prometheus
|
|
restart: always
|
|
ports:
|
|
- "9090:9090"
|
|
volumes:
|
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
|
|
|
grafana:
|
|
image: grafana/grafana:10.3.3
|
|
container_name: luxe_grafana
|
|
restart: always
|
|
ports:
|
|
- "3001:3000"
|
|
environment:
|
|
- GF_SECURITY_ADMIN_PASSWORD=admin
|
|
|
|
volumes:
|
|
postgres_data:
|
|
redis_data:
|
|
minio_data:
|