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]
|
||||
; Change this path if log files are stored elsewhere
|
||||
logfile=/home/inventree/log/supervisor.log
|
||||
nodaemon=true
|
||||
|
||||
[program:inventree-server]
|
||||
user=inventree
|
||||
|
@ -53,4 +53,4 @@ RUN mkdir /home/inventree/media /home/inventree/static /home/inventree/log /home
|
||||
# Copy supervisor file
|
||||
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