mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 21:21:15 -07:00
Add docker config file to detect bind mount
This commit is contained in:
parent
c8d8075830
commit
6a1225925e
1 changed files with 3 additions and 1 deletions
|
@ -18,9 +18,11 @@ RUN \
|
||||||
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
|
|
||||||
|
VOLUME /config
|
||||||
|
RUN touch /config/DOCKER
|
||||||
|
|
||||||
CMD [ "python", "Tautulli.py", "--datadir", "/config" ]
|
CMD [ "python", "Tautulli.py", "--datadir", "/config" ]
|
||||||
ENTRYPOINT [ "./start.sh" ]
|
ENTRYPOINT [ "./start.sh" ]
|
||||||
|
|
||||||
VOLUME /config
|
|
||||||
EXPOSE 8181
|
EXPOSE 8181
|
||||||
HEALTHCHECK --start-period=90s CMD curl -ILfSs http://localhost:8181/status > /dev/null || curl -ILfkSs https://localhost:8181/status > /dev/null || exit 1
|
HEALTHCHECK --start-period=90s CMD curl -ILfSs http://localhost:8181/status > /dev/null || curl -ILfkSs https://localhost:8181/status > /dev/null || exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue