web sttarting

This commit is contained in:
2026-03-31 13:25:14 +05:00
parent 9cd6d83428
commit 59b3bcd0f4
30 changed files with 720 additions and 242 deletions

25
docker-compose_db.yml Normal file
View File

@@ -0,0 +1,25 @@
services:
redis:
image: redis:alpine
container_name: redis
command:
- redis-server --appendonly yes
- redis-server --requirepass CNXpuhMdxXHo7ZK8bhtXDvgXVZcjRn
ports:
- 6379:6379
volumes:
- ./data:/redis
restart: always
postgres:
image: postgres:latest
container_name: postgres
#restart: always
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=postgres
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- ./data/postgres:/var/lib/postgresql/data