Initial commit

This commit is contained in:
2025-03-03 01:16:50 +03:00
parent be888d68b2
commit 2bef3a7fe4
11 changed files with 175 additions and 0 deletions

30
docker-compose.yml Executable file
View File

@@ -0,0 +1,30 @@
services:
proxy:
build: .
container_name: proxy
ports:
- "5050:5050"
depends_on:
- redis
healthcheck:
test: [ "CMD", "python3", "/app/test.py" ]
interval: 30s
timeout: 10s
retries: 3
redis:
image: redis:latest
container_name: redis
restart: unless-stopped
command: [ "redis-server" ]
ports:
- "6379:6379"
volumes:
- ./data:/data
environment:
- TZ=Europe/Moscow
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 10s
timeout: 5s
retries: 3