@@ -63,11 +63,11 @@ WORKDIR /source
63
63
64
64
ENV NODE_ENV=development \
65
65
# Ignore creds during this build process
66
- EDGEDB_SERVER_SECURITY =insecure_dev_mode \
66
+ GEL_SERVER_SECURITY =insecure_dev_mode \
67
67
# Don't start/host the db server, just bootstrap & quit.
68
- EDGEDB_SERVER_BOOTSTRAP_ONLY =1 \
68
+ GEL_SERVER_BOOTSTRAP_ONLY =1 \
69
69
# Temporary until upstream stale default of "edgedb" is resolved
70
- EDGEDB_SERVER_DATABASE =main \
70
+ GEL_SERVER_DATABASE =main \
71
71
# Don't flood log with cache debug messages
72
72
VERBOSE_YARN_LOG=discard
73
73
@@ -84,16 +84,16 @@ COPY . .
84
84
RUN <<EOF
85
85
set -e
86
86
87
- chown -R edgedb:edgedb /dbschema src
87
+ chown -R gel:gel /dbschema src
88
88
89
89
# Hook `yarn gel:gen` into gel bootstrap.
90
90
# This allows it to be ran in parallel to the db server running without a daemon
91
- mkdir -p /edgedb -bootstrap-late.d
92
- printf "#!/usr/bin/env bash\n cd /source \n yarn gel:gen" > /edgedb -bootstrap-late.d/01-generate-js.sh
93
- chmod +x /edgedb -bootstrap-late.d/01-generate-js.sh
91
+ mkdir -p /gel -bootstrap-late.d
92
+ printf "#!/usr/bin/env bash\n cd /source \n yarn gel:gen\n " > /gel -bootstrap-late.d/01-generate-js.sh
93
+ chmod +x /gel -bootstrap-late.d/01-generate-js.sh
94
94
95
95
# Bootstrap the db to apply migrations and then generate the TS/JS from that.
96
- /usr/local/bin/docker-entrypoint.sh edgedb- server
96
+ /usr/local/bin/docker-entrypoint.sh server
97
97
EOF
98
98
# endregion
99
99
0 commit comments