mirror of
https://github.com/gogs/gogs.git
synced 2025-05-31 11:42:13 +00:00
docker: remove healthcheck against the SSH port (#6742)
This commit is contained in:
parent
3a5ccc18cf
commit
dfe8fbde84
@ -47,6 +47,6 @@ RUN ./docker/finalize.sh
|
|||||||
# Configure Docker Container
|
# Configure Docker Container
|
||||||
VOLUME ["/data", "/backup"]
|
VOLUME ["/data", "/backup"]
|
||||||
EXPOSE 22 3000
|
EXPOSE 22 3000
|
||||||
HEALTHCHECK CMD (nc -z -w 3 localhost 22 && curl -o /dev/null -sS http://localhost:3000/healthcheck) || exit 1
|
HEALTHCHECK CMD (curl -o /dev/null -sS http://localhost:3000/healthcheck) || exit 1
|
||||||
ENTRYPOINT ["/app/gogs/docker/start.sh"]
|
ENTRYPOINT ["/app/gogs/docker/start.sh"]
|
||||||
CMD ["/bin/s6-svscan", "/app/gogs/docker/s6/"]
|
CMD ["/bin/s6-svscan", "/app/gogs/docker/s6/"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user