diff --git a/docker/production/docker-compose.yml b/docker/production/docker-compose.yml index abb24f5f9e..bdccd8c955 100644 --- a/docker/production/docker-compose.yml +++ b/docker/production/docker-compose.yml @@ -1,10 +1,10 @@ version: "3.8" -# Docker compose recipe for InvenTree -# - Runs PostgreSQL as the database backend -# - Runs Gunicorn as the InvenTree web server -# - Runs the InvenTree background worker process -# - Runs nginx as a reverse proxy +# Docker compose recipe for InvenTree (production setup) +# - PostgreSQL as the database backend +# - gunicorn as the InvenTree web server +# - django-q as the InvenTree background worker process +# - nginx as a reverse proxy # --------------------------------- # IMPORTANT - READ BEFORE STARTING! @@ -91,9 +91,9 @@ services: # Change "1337" to the port that you want InvenTree web server to be available on - 1337:80 volumes: - # Provide ./nginx.conf file to the container + # Provide nginx configuration file to the container # Refer to the provided example file as a starting point - - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro + - ./nginx.prod.conf:/etc/nginx/conf.d/default.conf:ro # nginx proxy needs access to static and media files - data:/var/www restart: unless-stopped diff --git a/docker/production/nginx.conf b/docker/production/nginx.prod.conf similarity index 100% rename from docker/production/nginx.conf rename to docker/production/nginx.prod.conf