26 lines
469 B
YAML
26 lines
469 B
YAML
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:
|