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:
parent
44fe5721e0
commit
5f9236d280
@ -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
|
||||||
|
@ -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"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user