You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
485 B

services:
web:
build: .
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/usr/mamweb-docker
ports:
- 8000:8000
depends_on:
- db
db:
image: postgres:13-bullseye
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=mam-web
- POSTGRES_PASSWORD=RoEGG5g7&b # Random generated string corresponding with Django settings
- POSTGRES_DB=mam_docker
volumes:
postgres_data: