Remove references to "plugins" volume in production docker-compose file (#3406)

This commit is contained in:
Oliver 2022-07-26 15:29:37 +10:00 committed by GitHub
parent b98ae25583
commit 622c0636ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,6 @@ services:
volumes: volumes:
# Data volume must map to /home/inventree/data # Data volume must map to /home/inventree/data
- inventree_data:/home/inventree/data - inventree_data:/home/inventree/data
- inventree_plugins:/home/inventree/InvenTree/plugins
restart: unless-stopped restart: unless-stopped
# Background worker process handles long-running or periodic tasks # Background worker process handles long-running or periodic tasks
@ -101,7 +100,6 @@ services:
volumes: volumes:
# Data volume must map to /home/inventree/data # Data volume must map to /home/inventree/data
- inventree_data:/home/inventree/data - inventree_data:/home/inventree/data
- inventree_plugins:/home/inventree/InvenTree/plugins
restart: unless-stopped restart: unless-stopped
# nginx acts as a reverse proxy # nginx acts as a reverse proxy
@ -136,10 +134,3 @@ volumes:
o: bind o: bind
# This directory specified where InvenTree data are stored "outside" the docker containers # This directory specified where InvenTree data are stored "outside" the docker containers
device: ${INVENTREE_EXT_VOLUME:?You must specify the 'INVENTREE_EXT_VOLUME' variable in the .env file!} device: ${INVENTREE_EXT_VOLUME:?You must specify the 'INVENTREE_EXT_VOLUME' variable in the .env file!}
inventree_plugins:
driver: local
driver_opts:
type: none
o: bind
# This directory specified where the optional local plugin directory is stored "outside" the docker containers
device: ${INVENTREE_EXT_PLUGINS:-./}