website/docker/dev/docker-compose.yml

31 lines
590 B
YAML
Raw Normal View History

version: '3.7'
services:
web:
build:
context: ../../
target: dev
init: true
environment:
- QUEUE_STORE_URL=redis://redis/0
- DEBUG=true
- SECRET_KEY=super-secret-key
2022-07-28 20:41:30 +01:00
- DATABASE_URL=postgres://website:website@db/website
volumes:
- ../../:/app
depends_on:
- redis
2022-07-28 20:41:30 +01:00
- db
2022-07-29 09:01:43 +01:00
ports:
- 127.0.0.1:8000:8000
redis:
image: redis:6.0
2022-07-28 20:41:30 +01:00
db:
image: postgres:13-alpine
environment:
- POSTGRES_PASSWORD=website
- POSTGRES_USER=website
volumes:
- ./volumes/db:/var/lib/postgresql/data