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

Do not use python virtual environment inside container

This commit is contained in:
Oliver Walters
2021-04-10 21:40:27 +10:00
parent 823f84e46a
commit 2f1db486a0
4 changed files with 11 additions and 18 deletions

View File

@ -7,6 +7,7 @@ version: "3.8"
# - Runs nginx as a reverse proxy
services:
# Database service
# Use PostgreSQL as the database backend
# Note: this can be changed to a different backend,
# just make sure that you change the INVENTREE_DB_xxx vars below
@ -23,7 +24,9 @@ services:
- data:/var/lib/postgresql/data/
restart: unless-stopped
server:
# InvenTree web server services
# Uses gunicorn as the web server
inventree:
build:
context: .
args:
@ -57,7 +60,7 @@ services:
container_name: inventree_worker
depends_on:
- db
- server
- inventree
volumes:
- data:/home/inventree/data
environment: