DocManagerBackend/docker-compose.dev.yml

33 lines
879 B
YAML
Raw Normal View History

services:
django:
env_file: .env
build:
context: .
dockerfile: Dockerfile
2024-11-24 19:33:07 +08:00
image: git.06222001.xyz/keannu125/docmanagerbackend:dev
ports:
- "${BACKEND_PORT}:8000"
environment:
- PYTHONBUFFERED=1
volumes:
2024-11-27 00:49:20 +08:00
# File Watcher is broken in Windows Docker since Docker does not notify container about any file changes you make from Windows
# If running on Windows, use a shared volume instead of bind mount
- .:/app
# SMTP Server
inbucket:
image: inbucket/inbucket:latest
ports:
- "8025:8025"
environment:
- INBUCKET_LOGLEVEL=error
- INBUCKET_MAILBOXNAMING=domain
- INBUCKET_SMTP_ADDR=0.0.0.0:1025
- INBUCKET_SMTP_MAXRECIPIENTS=1000
- INBUCKET_WEB_ADDR=0.0.0.0:8025
- INBUCKET_STORAGE_TYPE=memory
- INBUCKET_STORAGE_MAILBOXMSGCAP=2000
volumes:
db-data: