2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 01:55:39 +00:00

Separated docker file into separate directory

This commit is contained in:
Oliver Walters
2021-04-10 22:42:08 +10:00
parent 8f626d305e
commit 5a168abbfe
6 changed files with 9 additions and 45 deletions

View File

@ -6,6 +6,13 @@ version: "3.8"
# - Runs nginx as a reverse proxy
# - Runs the background worker process
# ---------------------------------
# IMPORTANT - READ BEFORE STARTING!
# ---------------------------------
# Before running, ensure that you change the "/path/to/data" directory,
# specified in the "volumes" section at the end of this file.
# This path determines where the InvenTree data will be stored!
services:
# Database service
# Use PostgreSQL as the database backend
@ -28,7 +35,7 @@ services:
# Uses gunicorn as the web server
inventree:
build:
context: .
context: inventree
args:
repository: "https://github.com/SchrodingersGat/InvenTree.git"
branch: "django-q"
@ -68,7 +75,7 @@ services:
# background worker process handles long-running or periodic tasks
worker:
build:
context: .
context: inventree
args:
repository: "https://github.com/SchrodingersGat/InvenTree.git"
branch: "django-q"