Files
Lucky_Wheel/docker-compose.yml
T

33 lines
751 B
YAML
Raw Normal View History

2026-09-10 01:58:29 +03:30
services:
postgres:
image: postgres:15-alpine
container_name: lucky_wheel_postgres
restart: unless-stopped
environment:
POSTGRES_DB: lucky_wheel
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgrespassword
ports:
- "5432:5432"
volumes:
- pg_data:/var/lib/postgresql/data
healthcheck:
2026-09-10 02:26:23 +03:30
test: [ "CMD-SHELL", "pg_isready -U postgres -d lucky_wheel" ]
2026-09-10 01:58:29 +03:30
interval: 5s
timeout: 5s
retries: 5
redis:
image: redis:7-alpine
container_name: lucky_wheel_redis
restart: unless-stopped
ports:
- "6380:6379"
volumes:
- redis_data:/data
healthcheck:
2026-09-10 02:26:23 +03:30
test: [ "CMD", "redis-cli", "ping" ]
2026-09-10 01:58:29 +03:30
interval: 5s
timeout: 5s
retries: 5