first commit

This commit is contained in:
s.esmaeili
2026-09-10 01:58:29 +03:30
commit 077da7eacd
201 changed files with 25072 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
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:
test: ["CMD-SHELL", "pg_isready -U postgres -d lucky_wheel"]
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:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 5
volumes:
pg_data:
redis_data: