mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Start supervisord
Ref: https://advancedweb.hu/supervisor-with-docker-lessons-learned/
This commit is contained in:
parent
b9f9b26ca5
commit
b9e81c3c0e
@ -13,6 +13,7 @@
|
|||||||
[supervisord]
|
[supervisord]
|
||||||
; Change this path if log files are stored elsewhere
|
; Change this path if log files are stored elsewhere
|
||||||
logfile=/home/inventree/log/supervisor.log
|
logfile=/home/inventree/log/supervisor.log
|
||||||
|
nodaemon=true
|
||||||
|
|
||||||
[program:inventree-server]
|
[program:inventree-server]
|
||||||
user=inventree
|
user=inventree
|
||||||
|
@ -53,4 +53,4 @@ RUN mkdir /home/inventree/media /home/inventree/static /home/inventree/log /home
|
|||||||
# Copy supervisor file
|
# Copy supervisor file
|
||||||
COPY deploy/inventree.conf /etc/supervisor/conf.d/inventree.conf
|
COPY deploy/inventree.conf /etc/supervisor/conf.d/inventree.conf
|
||||||
|
|
||||||
RUN service supervisor start
|
CMD ["/usr/bin/supervisord"]
|
||||||
|
Loading…
Reference in New Issue
Block a user