mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 19:46:46 +00:00
Adjust naming of nginx production file
This commit is contained in:
parent
e4e735a71b
commit
a50f26e84d
@ -1,10 +1,10 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
# Docker compose recipe for InvenTree
|
# Docker compose recipe for InvenTree (production setup)
|
||||||
# - Runs PostgreSQL as the database backend
|
# - PostgreSQL as the database backend
|
||||||
# - Runs Gunicorn as the InvenTree web server
|
# - gunicorn as the InvenTree web server
|
||||||
# - Runs the InvenTree background worker process
|
# - django-q as the InvenTree background worker process
|
||||||
# - Runs nginx as a reverse proxy
|
# - nginx as a reverse proxy
|
||||||
|
|
||||||
# ---------------------------------
|
# ---------------------------------
|
||||||
# IMPORTANT - READ BEFORE STARTING!
|
# IMPORTANT - READ BEFORE STARTING!
|
||||||
@ -91,9 +91,9 @@ services:
|
|||||||
# Change "1337" to the port that you want InvenTree web server to be available on
|
# Change "1337" to the port that you want InvenTree web server to be available on
|
||||||
- 1337:80
|
- 1337:80
|
||||||
volumes:
|
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
|
# 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
|
# nginx proxy needs access to static and media files
|
||||||
- data:/var/www
|
- data:/var/www
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
Loading…
x
Reference in New Issue
Block a user