2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-13 07:10:53 +00:00
Files
.devcontainer
.devops
.github
.vscode
assets
contrib
container
.env
Caddyfile
Dockerfile
dev-docker-compose.yml
docker-compose.yml
docker.dev.env
gunicorn.conf.py
init.sh
install_build_packages.sh
nginx.conf
requirements.in
requirements.txt
deploy
dev_reqs
installer
packager.io
install.sh
docs
src
.git-blame-ignore-revs
.gitattributes
.gitignore
.pkgr.yml
.pre-commit-config.yaml
.python-version
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
Procfile
README.md
SECURITY.md
biome.json
codecov.yml
crowdin.yml
pyproject.toml
readthedocs.yml
requirements.txt
runtime.txt
tasks.py
InvenTree/contrib/container/docker.dev.env
Oliver 15ad62494f [Docker] Alpine image fix ()
* Revert to alpine3:20 / postgres:16

* Remove old hack

- No longer needed as we are using python 3.11

* Update package requirements for devcontainer

Also fixes some docker warnings from the alpine Dockerfile

* Specify SITE_URL

* Reduce log output during docker image testing
2025-02-21 18:02:39 +11:00

25 lines
676 B
Bash

# InvenTree environment variables for a development setup
# These variables will be used by the docker-compose.yml file
INVENTREE_SITE_URL=http://localhost:8000
# Set DEBUG to True for a development setup
INVENTREE_DEBUG=True
INVENTREE_LOG_LEVEL=WARNING
INVENTREE_DB_LOGGING=False
# Database configuration options
# Note: The example setup is for a PostgreSQL database (change as required)
INVENTREE_DB_ENGINE=postgresql
INVENTREE_DB_NAME=inventree
INVENTREE_DB_HOST=inventree-dev-db
INVENTREE_DB_PORT=5432
INVENTREE_DB_USER=pguser
INVENTREE_DB_PASSWORD=pgpassword
# Enable custom plugins?
INVENTREE_PLUGINS_ENABLED=True
# Auto run migrations?
INVENTREE_AUTO_UPDATE=True