mirror of
https://github.com/Lissy93/web-check.git
synced 2025-06-20 11:47:42 +02:00
add choreo configs
This commit is contained in:
parent
7ca22daa9a
commit
05f1064c02
22
.choreo/endpoints.yaml
Normal file
22
.choreo/endpoints.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
version: 0.1
|
||||||
|
|
||||||
|
# +required List of endpoints to create
|
||||||
|
endpoints:
|
||||||
|
# +required Unique name for the endpoint. (This name will be used when generating the managed API)
|
||||||
|
- name: Web check service
|
||||||
|
# +required Numeric port value that gets exposed via this endpoint
|
||||||
|
port: 9090
|
||||||
|
# +required Type of the traffic this endpoint is accepting. Example: REST, GraphQL, etc.
|
||||||
|
# Allowed values: REST, GraphQL, GRPC
|
||||||
|
type: REST
|
||||||
|
# +optional Network level visibility of this endpoint. Defaults to Project
|
||||||
|
# Accepted values: Project|Organization|Public.
|
||||||
|
networkVisibility: Project
|
||||||
|
# +optional Context (base path) of the API that is exposed via this endpoint.
|
||||||
|
# This is mandatory if the endpoint type is set to REST or GraphQL.
|
||||||
|
context: /
|
||||||
|
# +optional Path to the schema definition file. Defaults to wild card route if not provided
|
||||||
|
# This is only applicable to REST endpoint types.
|
||||||
|
# The path should be relative to the docker context.
|
||||||
|
schemaFilePath: openapi.yaml
|
@ -4,5 +4,5 @@ services:
|
|||||||
container_name: Web-Check
|
container_name: Web-Check
|
||||||
image: lissy93/web-check
|
image: lissy93/web-check
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 9090:9090
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
1062
openapi.yaml
Normal file
1062
openapi.yaml
Normal file
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,7 @@
|
|||||||
"build": "astro check && astro build",
|
"build": "astro check && astro build",
|
||||||
"dev:vercel": "PLATFORM='vercel' npx vercel dev",
|
"dev:vercel": "PLATFORM='vercel' npx vercel dev",
|
||||||
"dev:netlify": "PLATFORM='netlify' npx netlify dev",
|
"dev:netlify": "PLATFORM='netlify' npx netlify dev",
|
||||||
"dev:api": "DISABLE_GUI='true' PORT='3001' nodemon server",
|
"dev:api": "set DISABLE_GUI=true&& set PORT=3001&& nodemon server",
|
||||||
"dev:astro": "PUBLIC_API_ENDPOINT=http://localhost:3001/api astro dev",
|
"dev:astro": "PUBLIC_API_ENDPOINT=http://localhost:3001/api astro dev",
|
||||||
"dev": "concurrently -c magenta,cyan -n backend,frontend 'yarn dev:api' 'yarn dev:astro'"
|
"dev": "concurrently -c magenta,cyan -n backend,frontend 'yarn dev:api' 'yarn dev:astro'"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user