Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Commit 7360398

Browse files
fix: de-duplicate cytomine check with default credentials.
1 parent b213b4b commit 7360398

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ ARG IMAGE_REVISION
3030
ARG POSTGIS_VERSION
3131

3232
# set default superadmin user postgres + set defaults for component specific databass sdb and user
33-
ENV CYTOMINE_DB=docker
34-
ENV CYTOMINE_USER=docker
3533
ENV APPENGINE_DB=appengine
3634
ENV APPENGINE_USER=appengine
3735

files/scripts/check_dbs_users.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ wait_for_db() {
1111

1212
echo $0 "Postgres is up - executing command"
1313

14-
sh /checks/check-user.sh "check-cytomine" "$CYTOMINE_USER" "$CYTOMINE_PASSWORD" "$CYTOMINE_DB" "1"
14+
sh /checks/check-user.sh "check-cytomine" "$POSTGRES_USER" "$POSTGRES_PASSWORD" "$POSTGRES_DB" "1"
1515
sh /checks/check-user.sh "check-appengine" "$APPENGINE_USER" "$APPENGINE_PASSWORD" "$APPENGINE_DB" "0"
1616
}
1717

0 commit comments

Comments
 (0)