Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions web/crux-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ EXPOSE 3000
ENV PORT 3000
LABEL org.opencontainers.image.source="https://github.com/dyrector-io/dyrectorio/web/crux-ui"

HEALTHCHECK --interval=30s --timeout=5s \
CMD wget -nv -t1 --spider http://localhost:3000/ || exit 1

ENTRYPOINT [ "npm", "run", "start:prod"]
3 changes: 3 additions & 0 deletions web/crux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ EXPOSE 1848

LABEL org.opencontainers.image.source="https://github.com/dyrector-io/dyrectorio/web/crux"

HEALTHCHECK --interval=30s --timeout=5s \
CMD wget -nv -t1 --spider http://localhost:1848/api/health || exit 1

# Start
ENTRYPOINT ["./crux-docker-entrypoint.sh"]
CMD ["serve"]
3 changes: 3 additions & 0 deletions web/kratos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ USER 10000

LABEL org.opencontainers.image.source="https://github.com/dyrector-io/dyrectorio/web/kratos"

HEALTHCHECK --interval=30s --timeout=5s \
CMD wget -nv -t1 --spider http://localhost:4434/health/ready || exit 1

ENTRYPOINT ["/usr/bin/app/kratos/entrypoint.sh"]
CMD ["serve", "-c", "/etc/config/kratos/kratos.yaml", "--watch-courier"]