21 lines
635 B
YAML
21 lines
635 B
YAML
---
|
|
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- app-data:/data
|
|
environment:
|
|
- DJANGO_SECRET_KEY=A_VERY_SECRETKEY_KEY # adjust this
|
|
- DJANGO_ALLOWED_HOSTS=www.example.org # adjust this (comma-separated list of allowed hosts)
|
|
- SMTP_EMAIL=room-booking@example.org # adjust this
|
|
- SMTP_PASSWORD=YOUR_SMTP_PASSWORD # adjust this
|
|
- SMTP_SERVER=your.smtp.server # adjust this
|
|
- SMTP_PORT=587 # adjust this if necessary
|
|
- SMTP_SENDER_NAME=Room Booking System # adjust this if you want
|
|
|
|
volumes:
|
|
app-data: |