mirror of
https://github.com/lemeow125/DocManagerBackend.git
synced 2025-01-19 01:23:02 +08:00
31 lines
674 B
YAML
31 lines
674 B
YAML
|
services:
|
||
|
django:
|
||
|
env_file: .env
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: Dockerfile
|
||
|
image: git.06222001.xyz/keannu125/docmanager_backend:dev
|
||
|
ports:
|
||
|
- "${BACKEND_PORT}:8000"
|
||
|
environment:
|
||
|
- PYTHONBUFFERED=1
|
||
|
volumes:
|
||
|
- .:/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:
|