mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-27 11:06:44 +00:00
* Fix for email sending - Extract valid email for user - Do not send if email not configured for user * Improve email address filtering logic * Fix return type hint
44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
services:
|
|
db:
|
|
image: postgres:15
|
|
restart: unless-stopped
|
|
expose:
|
|
- 5432/tcp
|
|
volumes:
|
|
- ../dev-db/:/var/lib/postgresql/data:z
|
|
environment:
|
|
POSTGRES_DB: inventree
|
|
POSTGRES_USER: inventree_user
|
|
POSTGRES_PASSWORD: inventree_password
|
|
|
|
redis:
|
|
image: redis:7.0
|
|
restart: always
|
|
expose:
|
|
- 6379
|
|
|
|
inventree:
|
|
build:
|
|
context: ..
|
|
dockerfile: .devcontainer/Dockerfile
|
|
volumes:
|
|
- ../:/home/inventree:z
|
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
|
|
|
environment:
|
|
INVENTREE_DB_ENGINE: postgresql
|
|
INVENTREE_DB_NAME: inventree
|
|
INVENTREE_DB_HOST: db
|
|
INVENTREE_DB_USER: inventree_user
|
|
INVENTREE_DB_PASSWORD: inventree_password
|
|
INVENTREE_DEBUG: True
|
|
INVENTREE_CACHE_HOST: redis
|
|
INVENTREE_CACHE_PORT: 6379
|
|
INVENTREE_PLUGINS_ENABLED: True
|
|
INVENTREE_SITE_URL: http://localhost:8000
|
|
INVENTREE_CORS_ORIGIN_ALLOW_ALL: True
|
|
INVENTREE_PY_ENV: /home/inventree/dev/venv
|
|
|
|
depends_on:
|
|
- db
|