Added PostgreSQL and Redis to the docker compose

This commit is contained in:
2026-03-09 17:24:04 +01:00
parent 4c064776b1
commit 1fe15e107e

25
docker-compose.yml Normal file
View File

@@ -0,0 +1,25 @@
services:
postgres:
image: postgres:latest
restart: unless-stopped
environment:
POSTGRES_USER: oed
POSTGRES_PASSWORD: devpassword
POSTGRES_DB: oed
ports:
- "5432:5432"
volumes:
- postgres:/var/lib/postgresql
redis:
image: redis:latest
restart: unless-stopped
command: redis-server --requirepass devpassword
ports:
- "6379:6379"
volumes:
- redis:/data
volumes:
postgres:
redis: