mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 02:10:12 -06:00
remove apprunner config, add migrate-and-start script, disable next telemetry with environment variable
This commit is contained in:
@@ -9,5 +9,7 @@ SMTP_PORT=587
|
||||
SMTP_USER=smtpUser
|
||||
SMTP_PASSWORD=smtpPassword
|
||||
|
||||
NEXT_TELEMETRY_DISABLED 1
|
||||
|
||||
# For Docker Setup use this Database URL:
|
||||
# DATABASE_URL='postgresql://postgres:postgres@postgres:5432/snoopforms?schema=public'
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
version: 1.0
|
||||
runtime: nodejs14
|
||||
build:
|
||||
commands:
|
||||
pre-build:
|
||||
- yarn install --frozen-lockfile
|
||||
- yarn prisma generate
|
||||
build:
|
||||
- yarn build
|
||||
post-build:
|
||||
- yarn install --production --ignore-scripts --prefer-offline
|
||||
- yarn prisma migrate deploy
|
||||
env:
|
||||
- name: NEXT_TELEMETRY_DISABLED
|
||||
value: 1
|
||||
run:
|
||||
runtime-version: 14
|
||||
command: yarn start
|
||||
network:
|
||||
port: 3000
|
||||
env: APP_PORT
|
||||
env:
|
||||
- name: NEXT_TELEMETRY_DISABLED
|
||||
value: 1
|
||||
@@ -6,6 +6,7 @@
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"migrate-and-start": "prisma migrate deploy && next start",
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user