website/docker/dev/docker-compose.yml

33 lines
632 B
YAML
Raw Normal View History

version: '3.7'
services:
web:
build:
context: ../../
target: dev
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
2024-01-14 12:59:31 +00:00
tmpfs:
- /tmp
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
- 127.0.0.1:8080:8080
redis:
image: redis:6-alpine
2022-07-28 20:41:30 +01:00
db:
2022-09-09 17:16:05 +01:00
image: postgres:14-alpine
2022-07-28 20:41:30 +01:00
environment:
- POSTGRES_PASSWORD=website
- POSTGRES_USER=website
volumes:
- ./volumes/db:/var/lib/postgresql/data