diff --git a/contrib/container/docker-compose.yml b/contrib/container/docker-compose.yml index ffe8daa739..1b01d36e12 100644 --- a/contrib/container/docker-compose.yml +++ b/contrib/container/docker-compose.yml @@ -32,6 +32,12 @@ # INVENTREE_TAG=0.7.5 # +# ---------------------------- +# Docker compose customization +# ---------------------------- +# If you wish to customize the docker-compose script, you should only do so if you understand the stack! +# Do not expect support for customizations that are not part of the standard InvenTree setup! + services: # Database service # Use PostgreSQL as the database backend @@ -114,17 +120,3 @@ services: - ${INVENTREE_EXT_VOLUME}:/var/log:z - ${INVENTREE_EXT_VOLUME}:/data:z - ${INVENTREE_EXT_VOLUME}:/config:z - - # alternative: run nginx as reverse proxy - # inventree-proxy: - # container_name: inventree-proxy - # image: nginx:stable - # restart: always - # depends_on: - # - inventree-server - # ports: - # - ${INVENTREE_WEB_PORT:-80}:80 - # - 443:443 - # volumes: - # - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro,z - # - ${INVENTREE_EXT_VOLUME}:/var/www:z diff --git a/docs/docs/start/docker.md b/docs/docs/start/docker.md index 3a3f17a2c0..f61a4b09a6 100644 --- a/docs/docs/start/docker.md +++ b/docs/docs/start/docker.md @@ -141,3 +141,9 @@ When configuring a docker install, sometimes a misconfiguration can cause peculi If you have previously setup InvenTree, remove existing volume bindings using the following command: ```docker volume rm -f inventree-production_inventree_data``` + +## Docker Compose Customization + +We provide a default `docker-compose.yml` file, which can be used to run InvenTree in production mode. This should be sufficient for most users. + +If you wish to customize the docker compose setup, you can do so by modifying the `docker-compose.yml` file. However, please note that we cannot provide support for custom docker compose configurations. If you choose to customize the setup, you are responsible for ensuring that it works correctly!