ejemplo-de-chat-con-Django/docker-compose.yaml
Andros Fenollosa e486ebd2d5 Add database
2020-11-15 11:13:39 +01:00

22 lines
322 B
YAML

version: '3.1'
services:
db:
image: postgres
restart: always
volumes:
- ./postgres:/var/lib/postgresql/data
environment:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
redis:
image: redis:alpine
restart: always
ports:
- 6379:6379