mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Updates to docker files
This commit is contained in:
parent
44fe5721e0
commit
5f9236d280
@ -64,6 +64,7 @@ services:
|
||||
build:
|
||||
context: nginx
|
||||
container_name: inventree_proxy
|
||||
image: inventree/nginx:latest
|
||||
depends_on:
|
||||
- inventree
|
||||
ports:
|
||||
@ -80,7 +81,7 @@ services:
|
||||
repository: "https://github.com/SchrodingersGat/InvenTree.git"
|
||||
branch: "django-q"
|
||||
entrypoint: ./start_worker.sh
|
||||
image: inventree/worker:latest
|
||||
image: inventree/inventree:latest
|
||||
container_name: inventree_worker
|
||||
depends_on:
|
||||
- db
|
||||
|
@ -91,7 +91,5 @@ RUN chmod 755 ${INVENTREE_SRC_DIR}/start_worker.sh
|
||||
# exec commands should be executed from the "src" directory
|
||||
WORKDIR ${INVENTREE_SRC_DIR}
|
||||
|
||||
USER inventree
|
||||
|
||||
# Let us begin
|
||||
CMD ["bash", "./start_server.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user