Adjust naming of nginx production file

This commit is contained in:
Oliver Walters 2022-04-20 21:52:25 +10:00
parent e4e735a71b
commit a50f26e84d
2 changed files with 7 additions and 7 deletions

View File

@ -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