@@ -17,10 +17,6 @@ envVarGroups:
1717 # Ephemeral SQLite URL (domain data uses Postgres); webapi-srv owns the /data disk.
1818 - key : SQLITE_DB_URL
1919 value : sqlite+aiosqlite:////tmp/jupiter.sqlite
20- - key : POSTGRES_DB_URL
21- fromDatabase :
22- name : jupiter-webapi-srv-db
23- property : connectionString
2420 - key : ALEMBIC_INI_PATH
2521 value : /jupiter/src/core/migrations/alembic.postgres.ini
2622 - key : ALEMBIC_MIGRATIONS_PATH
@@ -151,6 +147,10 @@ services:
151147 rootDir : .
152148 envVars :
153149 - fromGroup : jupiter-webapi-cron
150+ - key : POSTGRES_DB_URL
151+ fromDatabase :
152+ name : jupiter-webapi-srv-db
153+ property : connectionString
154154- type : cron
155155 name : jupiter-webapi-gen-do-all
156156 runtime : docker
@@ -163,6 +163,10 @@ services:
163163 rootDir : .
164164 envVars :
165165 - fromGroup : jupiter-webapi-cron
166+ - key : POSTGRES_DB_URL
167+ fromDatabase :
168+ name : jupiter-webapi-srv-db
169+ property : connectionString
166170- type : cron
167171 name : jupiter-webapi-schedule-external-sync-do-all
168172 runtime : docker
@@ -175,6 +179,10 @@ services:
175179 rootDir : .
176180 envVars :
177181 - fromGroup : jupiter-webapi-cron
182+ - key : POSTGRES_DB_URL
183+ fromDatabase :
184+ name : jupiter-webapi-srv-db
185+ property : connectionString
178186- type : cron
179187 name : jupiter-webapi-search-index-backfill-do-all
180188 runtime : docker
@@ -187,6 +195,10 @@ services:
187195 rootDir : .
188196 envVars :
189197 - fromGroup : jupiter-webapi-cron
198+ - key : POSTGRES_DB_URL
199+ fromDatabase :
200+ name : jupiter-webapi-srv-db
201+ property : connectionString
190202- type : cron
191203 name : jupiter-webapi-search-mutation-log-drain-do-all
192204 runtime : docker
@@ -200,6 +212,10 @@ services:
200212 rootDir : .
201213 envVars :
202214 - fromGroup : jupiter-webapi-cron
215+ - key : POSTGRES_DB_URL
216+ fromDatabase :
217+ name : jupiter-webapi-srv-db
218+ property : connectionString
203219- type : cron
204220 name : jupiter-webapi-search-mutation-log-processing-requeue-do-all
205221 runtime : docker
@@ -212,6 +228,10 @@ services:
212228 rootDir : .
213229 envVars :
214230 - fromGroup : jupiter-webapi-cron
231+ - key : POSTGRES_DB_URL
232+ fromDatabase :
233+ name : jupiter-webapi-srv-db
234+ property : connectionString
215235- type : cron
216236 name : jupiter-webapi-stats-do-all
217237 runtime : docker
@@ -224,6 +244,10 @@ services:
224244 rootDir : .
225245 envVars :
226246 - fromGroup : jupiter-webapi-cron
247+ - key : POSTGRES_DB_URL
248+ fromDatabase :
249+ name : jupiter-webapi-srv-db
250+ property : connectionString
227251- type : web
228252 name : jupiter-api
229253 domains :
0 commit comments