Skip to content

Commit b782ffe

Browse files
committed
Merge branch 'develop' into pcnc/fix-binary-collection
2 parents 23ad2d3 + 80c4bd0 commit b782ffe

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ARG pg_jsonschema_release=0.1.4
3030
ARG vault_release=0.2.8
3131
ARG groonga_release=12.0.8
3232
ARG pgroonga_release=2.4.0
33-
ARG wrappers_release=0.1.11
33+
ARG wrappers_release=0.1.14
3434
ARG hypopg_release=1.3.1
3535
ARG pg_repack_release=1.4.8
3636
ARG pgvector_release=0.4.0

ansible/vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ libsodium_release_checksum: sha256:6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5
105105
pgsodium_release: "3.1.7"
106106
pgsodium_release_checksum: sha256:0a10aeda67d35cc7228b98c87d71ed6ebddfd51f037772eb373ec7e1e1626b8f
107107

108-
pg_graphql_release: "1.2.0"
108+
pg_graphql_release: "1.2.2"
109109

110110
pg_jsonschema_release: "0.1.4"
111111

@@ -121,7 +121,7 @@ groonga_release_checksum: sha256:1c2d1a6981c1ad3f02a11aff202b15ba30cb1c6147f1fa9
121121
pgroonga_release: "3.0.7"
122122
pgroonga_release_checksum: sha256:885ff3878cc30e9030e5fc56d561bc8b66df3ede1562c9d802bc0ea04fe5c203
123123

124-
wrappers_release: "0.1.11"
124+
wrappers_release: "0.1.14"
125125

126126
hypopg_release: "1.3.1"
127127
hypopg_release_checksum: sha256:e7f01ee0259dc1713f318a108f987663d60f3041948c2ada57a94b469565ca8e

docker/all-in-one/init/configure-gotrue.sh

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,17 @@ sed -i "s|gotrue_api_host|${GOTRUE_API_HOST:-0.0.0.0}|g" /etc/gotrue.env
77
sed -i "s|gotrue_site_url|$GOTRUE_SITE_URL|g" /etc/gotrue.env
88
sed -i "s|gotrue_jwt_secret|$JWT_SECRET|g" /etc/gotrue.env
99

10-
GOTRUE_CUSTOM_DIR="${DATA_VOLUME_MOUNTPOINT}/etc/gotrue"
11-
mkdir -p "${GOTRUE_CUSTOM_DIR}"
10+
GOTRUE_CUSTOM_CONFIG_FILE_PATH="${DATA_VOLUME_MOUNTPOINT}/etc/gotrue.env"
1211
if [ ! -f "${CONFIGURED_FLAG_PATH}" ]; then
13-
echo "Copying existing custom GoTrue config from /etc/gotrue to ${GOTRUE_CUSTOM_DIR}"
14-
cp -R "/etc/gotrue/." "${GOTRUE_CUSTOM_DIR}/"
12+
echo "Copying existing GoTrue config from /etc/gotrue.env to ${GOTRUE_CUSTOM_CONFIG_FILE_PATH}"
13+
cp "/etc/gotrue.env" "${GOTRUE_CUSTOM_CONFIG_FILE_PATH}"
1514
fi
1615

17-
rm -rf "/etc/gotrue"
18-
ln -s "${GOTRUE_CUSTOM_DIR}" "/etc/gotrue"
19-
chown -R adminapi:adminapi "/etc/gotrue"
20-
chown -R adminapi:adminapi "${GOTRUE_CUSTOM_DIR}"
21-
chmod g+rx "${GOTRUE_CUSTOM_DIR}"
16+
rm "/etc/gotrue.env"
17+
ln -s "${GOTRUE_CUSTOM_CONFIG_FILE_PATH}" "/etc/gotrue.env"
18+
chown -R adminapi:adminapi "/etc/gotrue.env"
19+
chown -R adminapi:adminapi "${GOTRUE_CUSTOM_CONFIG_FILE_PATH}"
20+
chmod g+rx "${GOTRUE_CUSTOM_CONFIG_FILE_PATH}"
2221

2322
if [ -f "${INIT_PAYLOAD_PATH:-}" ]; then
2423
echo "init gotrue payload"

0 commit comments

Comments
 (0)