no separate docker-compose file for saml
parent
9023e38a99
commit
17d2e6c0a8
|
@ -1,17 +0,0 @@
|
|||
# this file is a helper to run Cal.com locally (with SAML login support)
|
||||
# starts a postgres instance on port 5450 to use as a local db
|
||||
version: "3.6"
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:13
|
||||
ports:
|
||||
- "5450:5432" # expose pg on port 5450 to not collide with pg from elswhere
|
||||
restart: always
|
||||
volumes:
|
||||
- db_data:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_DB: "cal-saml"
|
||||
POSTGRES_PASSWORD: ""
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
volumes:
|
||||
db_data:
|
|
@ -10,6 +10,7 @@ services:
|
|||
volumes:
|
||||
- db_data:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_DB: "cal-saml"
|
||||
POSTGRES_PASSWORD: ""
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
volumes:
|
||||
|
|
|
@ -8,19 +8,14 @@
|
|||
"analyze:browser": "BUNDLE_ANALYZE=browser next build",
|
||||
"dev": "next dev",
|
||||
"db-up": "docker-compose up -d",
|
||||
"db-saml-up": "docker compose -p cal-saml -f docker-compose-saml.yml up -d",
|
||||
"db-migrate": "yarn prisma migrate dev",
|
||||
"db-deploy": "yarn prisma migrate deploy",
|
||||
"db-seed": "yarn ts-node scripts/seed.ts",
|
||||
"db-nuke": "docker-compose down --volumes --remove-orphans",
|
||||
"db-saml-nuke": "docker-compose -p cal-saml -f docker-compose-saml.yml down --volumes --remove-orphans",
|
||||
"db-setup": "run-s db-up db-migrate db-seed",
|
||||
"db-reset": "run-s db-nuke db-setup",
|
||||
"db-saml-setup": "run-s db-saml-up db-migrate db-seed",
|
||||
"db-saml-reset": "run-s db-nuke db-saml-setup",
|
||||
"deploy": "run-s build db-deploy",
|
||||
"dx": "env-cmd run-s db-setup dev",
|
||||
"dx-saml": "env-cmd run-s db-saml-setup dev",
|
||||
"test": "jest",
|
||||
"test-playwright": "jest --config jest.playwright.config.js",
|
||||
"test-codegen": "yarn playwright codegen http://localhost:3000",
|
||||
|
|
Loading…
Reference in New Issue