mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-09 08:42:49 +01:00
Compare commits
2 Commits
v0.13.8-rc
...
v0.13.8-rc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97d0cd3428 | ||
|
|
baba5b7a45 |
@@ -18,6 +18,8 @@ dockers:
|
|||||||
- "ghcr.io/securitybrewery/catalyst:main"
|
- "ghcr.io/securitybrewery/catalyst:main"
|
||||||
- "{{if not .Prerelease}}ghcr.io/securitybrewery/catalyst:latest{{end}}"
|
- "{{if not .Prerelease}}ghcr.io/securitybrewery/catalyst:latest{{end}}"
|
||||||
- "ghcr.io/securitybrewery/catalyst:{{.Tag}}"
|
- "ghcr.io/securitybrewery/catalyst:{{.Tag}}"
|
||||||
|
extra_files:
|
||||||
|
- docker/entrypoint.sh
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- format: tar.gz
|
- format: tar.gz
|
||||||
|
|||||||
@@ -11,4 +11,6 @@ VOLUME /usr/local/bin/catalyst_data
|
|||||||
HEALTHCHECK --interval=5s --timeout=3s --retries=3 \
|
HEALTHCHECK --interval=5s --timeout=3s --retries=3 \
|
||||||
CMD curl -f http://localhost:8080/health || exit 1
|
CMD curl -f http://localhost:8080/health || exit 1
|
||||||
|
|
||||||
CMD ["/usr/local/bin/catalyst", "serve", "--http", "0.0.0.0:8080"]
|
COPY docker/entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh"]
|
||||||
15
docker/entrypoint.sh
Normal file
15
docker/entrypoint.sh
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Set the flags
|
||||||
|
FLAGS=""
|
||||||
|
if [ -n "$CATALYST_FLAGS" ]; then
|
||||||
|
FLAGS="$CATALYST_FLAGS"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Set the app url
|
||||||
|
APP_URL=""
|
||||||
|
if [ -n "$CATALYST_APP_URL" ]; then
|
||||||
|
APP_URL="$CATALYST_APP_URL"
|
||||||
|
fi
|
||||||
|
|
||||||
|
/usr/local/bin/catalyst serve --http 0.0.0.0:8080 --flags "$FLAGS" --app-url "$APP_URL"
|
||||||
Reference in New Issue
Block a user