From b69574049f09f33ede971fa806890b718757b51e Mon Sep 17 00:00:00 2001 From: Rachid F Date: Wed, 3 Jul 2024 14:59:50 -0700 Subject: [PATCH] :sparkles: Scarf.sh monitoring --- docker-compose.dev.yml | 21 +++++++++++++++++++++ docker-compose.yml | 6 +++--- packages/api/swagger/extended_specs.yaml | 3 ++- 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 48dafe267..9825f3e3e 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -235,6 +235,23 @@ services: volumes: - .:/app + pgadmin: + image: dpage/pgadmin4 + container_name: pgadmin4_container + restart: always + ports: + - "8888:80" + environment: + PGADMIN_DEFAULT_EMAIL: user-name@domain-name.com + PGADMIN_DEFAULT_PASSWORD: strong-password + networks: + - backend + depends_on: + postgres: + condition: service_healthy + volumes: + - pgadmin-data:/var/lib/pgadmin + #ngrok: #image: ngrok/ngrok:latest #restart: always @@ -261,6 +278,10 @@ services: volumes: - ./docs/:/app +volumes: + local_pgdata: + pgadmin-data: + networks: frontend: backend: diff --git a/docker-compose.yml b/docker-compose.yml index bacc2d33c..2d3c61d17 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,7 +23,7 @@ services: - backend api: - image: panoradotdev/backend-api:selfhosted + image: panora.docker.scarf.sh/panoradotdev/backend-api:selfhosted environment: DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:5432/${POSTGRES_DB}?ssl=false DISTRIBUTION: ${DISTRIBUTION} @@ -187,7 +187,7 @@ services: magic-link-frontend: - image: panoradotdev/frontend-magic-links:selfhosted + image: panora.docker.scarf.sh/panoradotdev/frontend-magic-links:selfhosted restart: always ports: - 81:80 @@ -199,7 +199,7 @@ services: - frontend webapp-next: - image: panoradotdev/frontend-webapp:selfhosted + image: panora.docker.scarf.sh/panoradotdev/frontend-webapp:selfhosted environment: NEXT_PUBLIC_DISTRIBUTION: ${DISTRIBUTION} NEXT_PUBLIC_BACKEND_DOMAIN: ${NEXT_PUBLIC_BACKEND_DOMAIN} diff --git a/packages/api/swagger/extended_specs.yaml b/packages/api/swagger/extended_specs.yaml index 44cc0c2c1..c39cb5296 100644 --- a/packages/api/swagger/extended_specs.yaml +++ b/packages/api/swagger/extended_specs.yaml @@ -4,4 +4,5 @@ x-speakeasy-name-override: - operationId: ^list.* methodNameOverride: list - operationId: ^new.* - methodNameOverride: create \ No newline at end of file + methodNameOverride: create + \ No newline at end of file