streamline volumes between server and worker
This commit is contained in:
parent
f30620a8a2
commit
b0459af78f
2 changed files with 4 additions and 5 deletions
|
|
@ -80,7 +80,7 @@ services:
|
|||
- inventree-cache
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
volumes: &inventree-volumes
|
||||
# Data volume must map to /home/inventree/data
|
||||
- ${INVENTREE_EXT_VOLUME}:/home/inventree/data:z
|
||||
- ./plugins.txt:/home/inventree/data/plugins.txt:ro,z
|
||||
|
|
@ -97,9 +97,7 @@ services:
|
|||
- inventree-server
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
# Data volume must map to /home/inventree/data
|
||||
- ${INVENTREE_EXT_VOLUME}:/home/inventree/data:z
|
||||
volumes: *inventree-volumes
|
||||
restart: unless-stopped
|
||||
|
||||
# caddy acts as reverse proxy and static file server
|
||||
|
|
|
|||
|
|
@ -20,8 +20,9 @@ INVENTREE_EXT_VOLUME=./inventree-data
|
|||
# Ensure debug is false for a production setup
|
||||
INVENTREE_LOG_LEVEL=WARNING
|
||||
|
||||
# Enable custom plugins?
|
||||
INVENTREE_PLUGIN_DIR=/home/inventree/plugins
|
||||
INVENTREE_PLUGINS_ENABLED=True
|
||||
INVENTREE_PLUGIN_NOINSTALL=True
|
||||
|
||||
# Run migrations automatically?
|
||||
INVENTREE_AUTO_UPDATE=True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue