2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 19:46:46 +00:00

Updates to docker files

This commit is contained in:
Oliver Walters 2021-04-11 14:46:40 +10:00
parent 44fe5721e0
commit 5f9236d280
2 changed files with 2 additions and 3 deletions

View File

@ -64,6 +64,7 @@ services:
build: build:
context: nginx context: nginx
container_name: inventree_proxy container_name: inventree_proxy
image: inventree/nginx:latest
depends_on: depends_on:
- inventree - inventree
ports: ports:
@ -80,7 +81,7 @@ services:
repository: "https://github.com/SchrodingersGat/InvenTree.git" repository: "https://github.com/SchrodingersGat/InvenTree.git"
branch: "django-q" branch: "django-q"
entrypoint: ./start_worker.sh entrypoint: ./start_worker.sh
image: inventree/worker:latest image: inventree/inventree:latest
container_name: inventree_worker container_name: inventree_worker
depends_on: depends_on:
- db - db

View File

@ -91,7 +91,5 @@ RUN chmod 755 ${INVENTREE_SRC_DIR}/start_worker.sh
# exec commands should be executed from the "src" directory # exec commands should be executed from the "src" directory
WORKDIR ${INVENTREE_SRC_DIR} WORKDIR ${INVENTREE_SRC_DIR}
USER inventree
# Let us begin # Let us begin
CMD ["bash", "./start_server.sh"] CMD ["bash", "./start_server.sh"]