Use postgres container in preview deployments on Uffizzi
Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
This commit is contained in:
@@ -10,9 +10,10 @@ services:
|
||||
image: '${BACKSTAGE_IMAGE}'
|
||||
|
||||
environment:
|
||||
POSTGRES_HOST: db
|
||||
POSTGRES_HOST: localhost
|
||||
POSTGRES_PORT: 5432
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: example
|
||||
POSTGRES_PASSWORD: kiTMoTsiEuyQ43GrL4Hv
|
||||
NODE_ENV: production
|
||||
deploy:
|
||||
resources:
|
||||
@@ -26,4 +27,8 @@ services:
|
||||
db:
|
||||
image: postgres
|
||||
environment:
|
||||
POSTGRES_PASSWORD: example
|
||||
POSTGRES_PASSWORD: kiTMoTsiEuyQ43GrL4Hv
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 250M
|
||||
|
||||
@@ -9,13 +9,17 @@ backend:
|
||||
baseUrl: ${UFFIZZI_URL}
|
||||
auth:
|
||||
keys:
|
||||
# random mock key for uffizi deployments
|
||||
# random mock key for Uffizzi deployments
|
||||
- secret: 5TXvdjVZFxF7qf9K5RAYRDoGrLzJooqa
|
||||
listen:
|
||||
port: 7007
|
||||
database:
|
||||
client: better-sqlite3
|
||||
connection: ':memory:'
|
||||
client: pg
|
||||
connection:
|
||||
host: ${POSTGRES_HOST}
|
||||
port: ${POSTGRES_PORT}
|
||||
user: ${POSTGRES_USER}
|
||||
password: ${POSTGRES_PASSWORD}
|
||||
cache:
|
||||
store: memory
|
||||
cors:
|
||||
|
||||
Reference in New Issue
Block a user