forked from doubaniux/boofilsic
-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add git rev and build date to docker image
- Loading branch information
Your Name
committed
Aug 27, 2023
1 parent
6d7295f
commit 9fe58ad
Showing
9 changed files
with
22 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
.venv | ||
.vscode | ||
.github | ||
.git | ||
.gitignore | ||
.pre-commit-config.yaml | ||
__pycache__ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
#!/bin/sh | ||
echo '\033[0;35m====== Welcome to NeoDB ======\033[0m' | ||
cat /neodb/version | ||
echo Your configuration is for ${NEODB_SITE_NAME} on ${NEODB_SITE_DOMAIN} | ||
[[ -z "${NEODB_DEBUG}" ]] || echo DEBUG is ON | ||
[[ -z "${NEODB_DEBUG}" ]] || echo DEBUG is ON, showing environment variables: | ||
[[ -z "${NEODB_DEBUG}" ]] || env | ||
echo Running some basic checks... | ||
neodb-manage check | ||
TAKAHE_DATABASE_SERVER="postgres://x@y/z" TAKAHE_SECRET_KEY="t" TAKAHE_MAIN_DOMAIN="x.y" takahe-manage check | ||
[[ -z "${NEODB_DEBUG}" ]] || echo Running some basic checks... | ||
[[ -z "${NEODB_DEBUG}" ]] || neodb-manage check | ||
[[ -z "${NEODB_DEBUG}" ]] || TAKAHE_DATABASE_SERVER="postgres://x@y/z" TAKAHE_SECRET_KEY="t" TAKAHE_MAIN_DOMAIN="x.y" takahe-manage check | ||
[[ -z "${NEODB_DEBUG}" ]] || echo check complete. | ||
cat <<EOF | ||
check complete | ||
check Docker Compose version: docker compose version | ||
start NeoDB (root) shell: docker compose run -it <shell|root> | ||
start NeoDB (root) shell: docker compose run <shell|root> | ||
start NeoDB instance: docker compose --profile <production|dev> up -d | ||
stop NeoDB instance: docker compose --profile <production|dev> down -d | ||
update NeoDB instance: docker compose --profile <production|dev> pull | ||
Please follow latest documentations on https://neodb.net to configure your instance before continuing. | ||
Please follow instructions on https://neodb.net to configure and run your instance. | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.