chore: previews for every PR release using Uffizzi

add github workflows to take the prebuilt docker image for the PR to
create a preview deployment on Uffizzi. Comment will be posted to every
PR on a successful deployment.
This commit is contained in:
Vibhav Bobade
2022-10-25 03:20:16 +05:30
parent ef8aebadbb
commit cf5015b85d
3 changed files with 176 additions and 7 deletions

View File

@@ -0,0 +1,24 @@
version: '3'
x-uffizzi:
ingress:
service: nocodb
port: 8080
services:
root_db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: password
POSTGRES_USER: postgres
POSTGRES_DB: root_db
nocodb:
image: "${NOCODB_IMAGE}"
ports:
- "8080:8080"
restart: always
environment:
NC_DB: "pg://localhost:5432?u=postgres&p=password&d=root_db"
NC_ADMIN_EMAIL: admin@nocodb.com
NC_ADMIN_PASSWORD: password