.
Some checks failed
auth: check and build / check-permissions (push) Has been cancelled
auth: check and build / tests (push) Has been cancelled
auth: check and build / build_artifacts (push) Has been cancelled
auth: check and build / remove_label (push) Has been cancelled
ci: update changelog / update-changelog (cli) (push) Has been cancelled
ci: update changelog / update-changelog (dashboard) (push) Has been cancelled
ci: update changelog / update-changelog (packages/nhost-js) (push) Has been cancelled
ci: update changelog / update-changelog (services/auth) (push) Has been cancelled
ci: update changelog / update-changelog (services/storage) (push) Has been cancelled
cli: check and build / check-permissions (push) Has been cancelled
cli: check and build / tests (push) Has been cancelled
cli: check and build / build_artifacts (push) Has been cancelled
cli: check and build / test_cli_build (push) Has been cancelled
cli: check and build / remove_label (push) Has been cancelled
codegen: check and build / check-permissions (push) Has been cancelled
codegen: check and build / tests (push) Has been cancelled
codegen: check and build / build_artifacts (push) Has been cancelled
codegen: check and build / remove_label (push) Has been cancelled
dashboard: check and build / check-permissions (push) Has been cancelled
dashboard: check and build / deploy-vercel (push) Has been cancelled
dashboard: check and build / build_artifacts (push) Has been cancelled
dashboard: check and build / tests (push) Has been cancelled
dashboard: check and build / e2e_staging (push) Has been cancelled
dashboard: check and build / remove_label (push) Has been cancelled
docs: check and build / check-permissions (push) Has been cancelled
docs: check and build / tests (push) Has been cancelled
docs: check and build / remove_label (push) Has been cancelled
examples/demos: check and build / check-permissions (push) Has been cancelled
examples/demos: check and build / tests (push) Has been cancelled
examples/demos: check and build / build_artifacts (push) Has been cancelled
examples/demos: check and build / remove_label (push) Has been cancelled
examples/guides: check and build / check-permissions (push) Has been cancelled
examples/guides: check and build / tests (push) Has been cancelled
examples/guides: check and build / build_artifacts (push) Has been cancelled
examples/guides: check and build / remove_label (push) Has been cancelled
examples/tutorials: check and build / check-permissions (push) Has been cancelled
examples/tutorials: check and build / tests (push) Has been cancelled
examples/tutorials: check and build / build_artifacts (push) Has been cancelled
examples/tutorials: check and build / remove_label (push) Has been cancelled
nhost-js: check and build / check-permissions (push) Has been cancelled
nhost-js: check and build / tests (push) Has been cancelled
nhost-js: check and build / build_artifacts (push) Has been cancelled
nhost-js: check and build / remove_label (push) Has been cancelled
nixops: check and build / check-permissions (push) Has been cancelled
nixops: check and build / tests (push) Has been cancelled
nixops: check and build / build_artifacts (push) Has been cancelled
nixops: check and build / remove_label (push) Has been cancelled
storage: check and build / check-permissions (push) Has been cancelled
storage: check and build / tests (push) Has been cancelled
storage: check and build / build_artifacts (push) Has been cancelled
storage: check and build / remove_label (push) Has been cancelled
Some checks failed
auth: check and build / check-permissions (push) Has been cancelled
auth: check and build / tests (push) Has been cancelled
auth: check and build / build_artifacts (push) Has been cancelled
auth: check and build / remove_label (push) Has been cancelled
ci: update changelog / update-changelog (cli) (push) Has been cancelled
ci: update changelog / update-changelog (dashboard) (push) Has been cancelled
ci: update changelog / update-changelog (packages/nhost-js) (push) Has been cancelled
ci: update changelog / update-changelog (services/auth) (push) Has been cancelled
ci: update changelog / update-changelog (services/storage) (push) Has been cancelled
cli: check and build / check-permissions (push) Has been cancelled
cli: check and build / tests (push) Has been cancelled
cli: check and build / build_artifacts (push) Has been cancelled
cli: check and build / test_cli_build (push) Has been cancelled
cli: check and build / remove_label (push) Has been cancelled
codegen: check and build / check-permissions (push) Has been cancelled
codegen: check and build / tests (push) Has been cancelled
codegen: check and build / build_artifacts (push) Has been cancelled
codegen: check and build / remove_label (push) Has been cancelled
dashboard: check and build / check-permissions (push) Has been cancelled
dashboard: check and build / deploy-vercel (push) Has been cancelled
dashboard: check and build / build_artifacts (push) Has been cancelled
dashboard: check and build / tests (push) Has been cancelled
dashboard: check and build / e2e_staging (push) Has been cancelled
dashboard: check and build / remove_label (push) Has been cancelled
docs: check and build / check-permissions (push) Has been cancelled
docs: check and build / tests (push) Has been cancelled
docs: check and build / remove_label (push) Has been cancelled
examples/demos: check and build / check-permissions (push) Has been cancelled
examples/demos: check and build / tests (push) Has been cancelled
examples/demos: check and build / build_artifacts (push) Has been cancelled
examples/demos: check and build / remove_label (push) Has been cancelled
examples/guides: check and build / check-permissions (push) Has been cancelled
examples/guides: check and build / tests (push) Has been cancelled
examples/guides: check and build / build_artifacts (push) Has been cancelled
examples/guides: check and build / remove_label (push) Has been cancelled
examples/tutorials: check and build / check-permissions (push) Has been cancelled
examples/tutorials: check and build / tests (push) Has been cancelled
examples/tutorials: check and build / build_artifacts (push) Has been cancelled
examples/tutorials: check and build / remove_label (push) Has been cancelled
nhost-js: check and build / check-permissions (push) Has been cancelled
nhost-js: check and build / tests (push) Has been cancelled
nhost-js: check and build / build_artifacts (push) Has been cancelled
nhost-js: check and build / remove_label (push) Has been cancelled
nixops: check and build / check-permissions (push) Has been cancelled
nixops: check and build / tests (push) Has been cancelled
nixops: check and build / build_artifacts (push) Has been cancelled
nixops: check and build / remove_label (push) Has been cancelled
storage: check and build / check-permissions (push) Has been cancelled
storage: check and build / tests (push) Has been cancelled
storage: check and build / build_artifacts (push) Has been cancelled
storage: check and build / remove_label (push) Has been cancelled
This commit is contained in:
@@ -8,56 +8,56 @@ services:
|
||||
- graphql
|
||||
- postgres
|
||||
environment:
|
||||
AUTH_ACCESS_CONTROL_ALLOWED_EMAIL_DOMAINS: ""
|
||||
AUTH_ACCESS_CONTROL_ALLOWED_EMAILS: ""
|
||||
AUTH_ACCESS_CONTROL_ALLOWED_REDIRECT_URLS: ""
|
||||
AUTH_ACCESS_CONTROL_BLOCKED_EMAIL_DOMAINS: ""
|
||||
AUTH_ACCESS_CONTROL_BLOCKED_EMAILS: ""
|
||||
AUTH_ACCESS_TOKEN_EXPIRES_IN: "900"
|
||||
AUTH_ANONYMOUS_USERS_ENABLED: "false"
|
||||
AUTH_ACCESS_CONTROL_ALLOWED_EMAIL_DOMAINS: ''
|
||||
AUTH_ACCESS_CONTROL_ALLOWED_EMAILS: ''
|
||||
AUTH_ACCESS_CONTROL_ALLOWED_REDIRECT_URLS: ''
|
||||
AUTH_ACCESS_CONTROL_BLOCKED_EMAIL_DOMAINS: ''
|
||||
AUTH_ACCESS_CONTROL_BLOCKED_EMAILS: ''
|
||||
AUTH_ACCESS_TOKEN_EXPIRES_IN: '900'
|
||||
AUTH_ANONYMOUS_USERS_ENABLED: 'false'
|
||||
AUTH_API_PREFIX: /v1
|
||||
AUTH_CLIENT_URL: http://localhost:3000
|
||||
AUTH_CONCEAL_ERRORS: "false"
|
||||
AUTH_DISABLE_NEW_USERS: "false"
|
||||
AUTH_DISABLE_SIGNUP: "false"
|
||||
AUTH_EMAIL_PASSWORDLESS_ENABLED: "false"
|
||||
AUTH_EMAIL_SIGNIN_EMAIL_VERIFIED_REQUIRED: "${AUTH_EMAIL_SIGNIN_EMAIL_VERIFIED_REQUIRED}"
|
||||
AUTH_CONCEAL_ERRORS: 'false'
|
||||
AUTH_DISABLE_NEW_USERS: 'false'
|
||||
AUTH_DISABLE_SIGNUP: 'false'
|
||||
AUTH_EMAIL_PASSWORDLESS_ENABLED: 'false'
|
||||
AUTH_EMAIL_SIGNIN_EMAIL_VERIFIED_REQUIRED: '${AUTH_EMAIL_SIGNIN_EMAIL_VERIFIED_REQUIRED}'
|
||||
AUTH_GRAVATAR_DEFAULT: blank
|
||||
AUTH_GRAVATAR_ENABLED: "true"
|
||||
AUTH_GRAVATAR_ENABLED: 'true'
|
||||
AUTH_GRAVATAR_RATING: g
|
||||
AUTH_HOST: 0.0.0.0
|
||||
AUTH_JWT_CUSTOM_CLAIMS: "{}"
|
||||
AUTH_JWT_CUSTOM_CLAIMS: '{}'
|
||||
AUTH_LOCALE_ALLOWED_LOCALES: en
|
||||
AUTH_LOCALE_DEFAULT: en
|
||||
AUTH_MFA_ENABLED: "false"
|
||||
AUTH_MFA_TOTP_ISSUER: ""
|
||||
AUTH_OTP_EMAIL_ENABLED: "false"
|
||||
AUTH_PASSWORD_HIBP_ENABLED: "false"
|
||||
AUTH_PASSWORD_MIN_LENGTH: "9"
|
||||
AUTH_PORT: "4000"
|
||||
AUTH_RATE_LIMIT_BRUTE_FORCE_BURST: "10"
|
||||
AUTH_MFA_ENABLED: 'false'
|
||||
AUTH_MFA_TOTP_ISSUER: ''
|
||||
AUTH_OTP_EMAIL_ENABLED: 'false'
|
||||
AUTH_PASSWORD_HIBP_ENABLED: 'false'
|
||||
AUTH_PASSWORD_MIN_LENGTH: '9'
|
||||
AUTH_PORT: '4000'
|
||||
AUTH_RATE_LIMIT_BRUTE_FORCE_BURST: '10'
|
||||
AUTH_RATE_LIMIT_BRUTE_FORCE_INTERVAL: 5m
|
||||
AUTH_RATE_LIMIT_EMAIL_BURST: "10"
|
||||
AUTH_RATE_LIMIT_EMAIL_BURST: '10'
|
||||
AUTH_RATE_LIMIT_EMAIL_INTERVAL: 1h
|
||||
AUTH_RATE_LIMIT_EMAIL_IS_GLOBAL: "true"
|
||||
AUTH_RATE_LIMIT_ENABLE: "true"
|
||||
AUTH_RATE_LIMIT_GLOBAL_BURST: "100"
|
||||
AUTH_RATE_LIMIT_EMAIL_IS_GLOBAL: 'true'
|
||||
AUTH_RATE_LIMIT_ENABLE: 'true'
|
||||
AUTH_RATE_LIMIT_GLOBAL_BURST: '100'
|
||||
AUTH_RATE_LIMIT_GLOBAL_INTERVAL: 1m
|
||||
AUTH_RATE_LIMIT_SIGNUPS_BURST: "10"
|
||||
AUTH_RATE_LIMIT_SIGNUPS_BURST: '10'
|
||||
AUTH_RATE_LIMIT_SIGNUPS_INTERVAL: 5m
|
||||
AUTH_RATE_LIMIT_SMS_BURST: "10"
|
||||
AUTH_RATE_LIMIT_SMS_BURST: '10'
|
||||
AUTH_RATE_LIMIT_SMS_INTERVAL: 1h
|
||||
AUTH_REFRESH_TOKEN_EXPIRES_IN: "2592000"
|
||||
AUTH_REFRESH_TOKEN_EXPIRES_IN: '2592000'
|
||||
AUTH_REQUIRE_ELEVATED_CLAIM: disabled
|
||||
AUTH_SERVER_URL: http://${AUTH_URL}/v1
|
||||
AUTH_SMTP_AUTH_METHOD: LOGIN
|
||||
AUTH_SMTP_HOST: mailhog
|
||||
AUTH_SMTP_PASS: password
|
||||
AUTH_SMTP_PORT: "1025"
|
||||
AUTH_SMTP_SECURE: "false"
|
||||
AUTH_SMTP_PORT: '1025'
|
||||
AUTH_SMTP_SECURE: 'false'
|
||||
AUTH_SMTP_SENDER: auth@example.com
|
||||
AUTH_SMTP_USER: user
|
||||
AUTH_TURNSTILE_SECRET: ""
|
||||
AUTH_TURNSTILE_SECRET: ''
|
||||
AUTH_USER_DEFAULT_ALLOWED_ROLES: user,me
|
||||
AUTH_USER_DEFAULT_ROLE: user
|
||||
HASURA_GRAPHQL_ADMIN_SECRET: ${GRAPHQL_ADMIN_SECRET}
|
||||
@@ -90,12 +90,12 @@ services:
|
||||
constraints:
|
||||
- node.hostname == crackbox
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.auth.entrypoints=web"
|
||||
- "traefik.http.routers.auth.rule=Host(`${AUTH_URL}`)"
|
||||
- "traefik.http.routers.auth.service=auth"
|
||||
- "traefik.http.routers.auth.tls=false"
|
||||
- "traefik.http.services.auth.loadbalancer.server.port=4000"
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.http.routers.auth.entrypoints=web'
|
||||
- 'traefik.http.routers.auth.rule=Host(`${AUTH_URL}`)'
|
||||
- 'traefik.http.routers.auth.service=auth'
|
||||
- 'traefik.http.routers.auth.tls=false'
|
||||
- 'traefik.http.services.auth.loadbalancer.server.port=4000'
|
||||
|
||||
console:
|
||||
image: nhost/graphql-engine:v2.46.0-ce.cli-migrations-v3
|
||||
@@ -117,33 +117,33 @@ services:
|
||||
- --api-host=http://${GRAPHQL_URL}
|
||||
- --console-hge-endpoint=http://${GRAPHQL_URL}
|
||||
environment:
|
||||
GRAPHITE_WEBHOOK_SECRET: ""
|
||||
HASURA_GRAPHQL_ADMIN_INTERNAL_ERRORS: "true"
|
||||
GRAPHITE_WEBHOOK_SECRET: ''
|
||||
HASURA_GRAPHQL_ADMIN_INTERNAL_ERRORS: 'true'
|
||||
HASURA_GRAPHQL_ADMIN_SECRET: ${GRAPHQL_ADMIN_SECRET}
|
||||
HASURA_GRAPHQL_CONSOLE_ASSETS_DIR: /srv/console-assets
|
||||
HASURA_GRAPHQL_CORS_DOMAIN: "*"
|
||||
HASURA_GRAPHQL_CORS_DOMAIN: '*'
|
||||
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||
HASURA_GRAPHQL_DEV_MODE: "true"
|
||||
HASURA_GRAPHQL_DISABLE_CORS: "true"
|
||||
HASURA_GRAPHQL_ENABLE_ALLOWLIST: "false"
|
||||
HASURA_GRAPHQL_ENABLE_CONSOLE: "true"
|
||||
HASURA_GRAPHQL_ENABLE_REMOTE_SCHEMA_PERMISSIONS: "false"
|
||||
HASURA_GRAPHQL_ENABLE_TELEMETRY: "false"
|
||||
HASURA_GRAPHQL_DEV_MODE: 'true'
|
||||
HASURA_GRAPHQL_DISABLE_CORS: 'true'
|
||||
HASURA_GRAPHQL_ENABLE_ALLOWLIST: 'false'
|
||||
HASURA_GRAPHQL_ENABLE_CONSOLE: 'true'
|
||||
HASURA_GRAPHQL_ENABLE_REMOTE_SCHEMA_PERMISSIONS: 'false'
|
||||
HASURA_GRAPHQL_ENABLE_TELEMETRY: 'false'
|
||||
HASURA_GRAPHQL_ENABLED_APIS: metadata,graphql,pgdump,config
|
||||
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup,http-log,webhook-log,websocket-log
|
||||
HASURA_GRAPHQL_EVENTS_HTTP_POOL_SIZE: "100"
|
||||
HASURA_GRAPHQL_INFER_FUNCTION_PERMISSIONS: "true"
|
||||
HASURA_GRAPHQL_EVENTS_HTTP_POOL_SIZE: '100'
|
||||
HASURA_GRAPHQL_INFER_FUNCTION_PERMISSIONS: 'true'
|
||||
HASURA_GRAPHQL_JWT_SECRET: ${JWT_SECRET}
|
||||
HASURA_GRAPHQL_LIVE_QUERIES_MULTIPLEXED_BATCH_SIZE: "100"
|
||||
HASURA_GRAPHQL_LIVE_QUERIES_MULTIPLEXED_REFETCH_INTERVAL: "1000"
|
||||
HASURA_GRAPHQL_LIVE_QUERIES_MULTIPLEXED_BATCH_SIZE: '100'
|
||||
HASURA_GRAPHQL_LIVE_QUERIES_MULTIPLEXED_REFETCH_INTERVAL: '1000'
|
||||
HASURA_GRAPHQL_LOG_LEVEL: warn
|
||||
HASURA_GRAPHQL_PG_CONNECTIONS: "50"
|
||||
HASURA_GRAPHQL_PG_TIMEOUT: "180"
|
||||
HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES: "false"
|
||||
HASURA_GRAPHQL_PG_CONNECTIONS: '50'
|
||||
HASURA_GRAPHQL_PG_TIMEOUT: '180'
|
||||
HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES: 'false'
|
||||
HASURA_GRAPHQL_TX_ISOLATION: read-committed
|
||||
HASURA_GRAPHQL_UNAUTHORIZED_ROLE: public
|
||||
HASURA_GRAPHQL_USE_PREPARED_STATEMENTS: "true"
|
||||
HASURA_GRAPHQL_WS_READ_COOKIE: "false"
|
||||
HASURA_GRAPHQL_USE_PREPARED_STATEMENTS: 'true'
|
||||
HASURA_GRAPHQL_WS_READ_COOKIE: 'false'
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
@@ -167,17 +167,17 @@ services:
|
||||
constraints:
|
||||
- node.hostname == crackbox
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.console.entrypoints=web"
|
||||
- "traefik.http.routers.console.rule=Host(`${GRAPHQL_URL}`)"
|
||||
- "traefik.http.routers.console.service=console"
|
||||
- "traefik.http.routers.console.tls=false"
|
||||
- "traefik.http.routers.migrate.entrypoints=web"
|
||||
- "traefik.http.routers.migrate.rule=Host(`${GRAPHQL_URL}`) && PathPrefix(`/apis/`)"
|
||||
- "traefik.http.routers.migrate.service=migrate"
|
||||
- "traefik.http.routers.migrate.tls=false"
|
||||
- "traefik.http.services.console.loadbalancer.server.port=9695"
|
||||
- "traefik.http.services.migrate.loadbalancer.server.port=80"
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.http.routers.console.entrypoints=web'
|
||||
- 'traefik.http.routers.console.rule=Host(`${GRAPHQL_URL}`)'
|
||||
- 'traefik.http.routers.console.service=console'
|
||||
- 'traefik.http.routers.console.tls=false'
|
||||
- 'traefik.http.routers.migrate.entrypoints=web'
|
||||
- 'traefik.http.routers.migrate.rule=Host(`${GRAPHQL_URL}`) && PathPrefix(`/apis/`)'
|
||||
- 'traefik.http.routers.migrate.service=migrate'
|
||||
- 'traefik.http.routers.migrate.tls=false'
|
||||
- 'traefik.http.services.console.loadbalancer.server.port=9695'
|
||||
- 'traefik.http.services.migrate.loadbalancer.server.port=80'
|
||||
|
||||
dashboard:
|
||||
image: nhost/dashboard:2.34.0
|
||||
@@ -194,7 +194,7 @@ services:
|
||||
NEXT_PUBLIC_NHOST_HASURA_API_URL: http://${GRAPHQL_URL}
|
||||
NEXT_PUBLIC_NHOST_HASURA_CONSOLE_URL: http://${GRAPHQL_URL}/console
|
||||
NEXT_PUBLIC_NHOST_HASURA_MIGRATIONS_API_URL: http://${GRAPHQL_URL}
|
||||
NEXT_PUBLIC_NHOST_PLATFORM: "false"
|
||||
NEXT_PUBLIC_NHOST_PLATFORM: 'false'
|
||||
NEXT_PUBLIC_NHOST_STORAGE_URL: http://${STORAGE_URL}/v1
|
||||
deploy:
|
||||
replicas: 1
|
||||
@@ -206,12 +206,12 @@ services:
|
||||
constraints:
|
||||
- node.hostname == crackbox
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.dashboard.entrypoints=web"
|
||||
- "traefik.http.routers.dashboard.rule=Host(`${DASHBOARD_URL}`)"
|
||||
- "traefik.http.routers.dashboard.service=dashboard"
|
||||
- "traefik.http.routers.dashboard.tls=false"
|
||||
- "traefik.http.services.dashboard.loadbalancer.server.port=3000"
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.http.routers.dashboard.entrypoints=web'
|
||||
- 'traefik.http.routers.dashboard.rule=Host(`${DASHBOARD_URL}`)'
|
||||
- 'traefik.http.routers.dashboard.service=dashboard'
|
||||
- 'traefik.http.routers.dashboard.tls=false'
|
||||
- 'traefik.http.services.dashboard.loadbalancer.server.port=3000'
|
||||
|
||||
functions:
|
||||
image: nhost/functions:22-1.4.0
|
||||
@@ -220,7 +220,7 @@ services:
|
||||
- public
|
||||
- badge-net
|
||||
environment:
|
||||
GRAPHITE_WEBHOOK_SECRET: ""
|
||||
GRAPHITE_WEBHOOK_SECRET: ''
|
||||
HASURA_GRAPHQL_ADMIN_SECRET: ${GRAPHQL_ADMIN_SECRET}
|
||||
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||
HASURA_GRAPHQL_GRAPHQL_URL: http://graphql:8080/v1/graphql
|
||||
@@ -237,7 +237,7 @@ services:
|
||||
start_period: 600s
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /
|
||||
source: /home/vasceannie/apps/nhost/deploy/docker-compose
|
||||
target: /opt/project
|
||||
read_only: false
|
||||
- type: volume
|
||||
@@ -258,15 +258,15 @@ services:
|
||||
constraints:
|
||||
- node.hostname == crackbox
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.middlewares.replace-functions.replacepathregex.regex=/v1(/|$$)(.*)"
|
||||
- "traefik.http.middlewares.replace-functions.replacepathregex.replacement=/$$2"
|
||||
- "traefik.http.routers.functions.entrypoints=web"
|
||||
- "traefik.http.routers.functions.middlewares=replace-functions"
|
||||
- "traefik.http.routers.functions.rule=Host(`${FUNCTIONS_URL}`) && PathPrefix(`/v1`)"
|
||||
- "traefik.http.routers.functions.service=functions"
|
||||
- "traefik.http.routers.functions.tls=false"
|
||||
- "traefik.http.services.functions.loadbalancer.server.port=3000"
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.http.middlewares.replace-functions.replacepathregex.regex=/v1(/|$$)(.*)'
|
||||
- 'traefik.http.middlewares.replace-functions.replacepathregex.replacement=/$$2'
|
||||
- 'traefik.http.routers.functions.entrypoints=web'
|
||||
- 'traefik.http.routers.functions.middlewares=replace-functions'
|
||||
- 'traefik.http.routers.functions.rule=Host(`${FUNCTIONS_URL}`) && PathPrefix(`/v1`)'
|
||||
- 'traefik.http.routers.functions.service=functions'
|
||||
- 'traefik.http.routers.functions.tls=false'
|
||||
- 'traefik.http.services.functions.loadbalancer.server.port=3000'
|
||||
|
||||
graphql:
|
||||
image: nhost/graphql-engine:v2.46.0-ce
|
||||
@@ -277,33 +277,33 @@ services:
|
||||
depends_on:
|
||||
- postgres
|
||||
environment:
|
||||
GRAPHITE_WEBHOOK_SECRET: ""
|
||||
HASURA_GRAPHQL_ADMIN_INTERNAL_ERRORS: "true"
|
||||
GRAPHITE_WEBHOOK_SECRET: ''
|
||||
HASURA_GRAPHQL_ADMIN_INTERNAL_ERRORS: 'true'
|
||||
HASURA_GRAPHQL_ADMIN_SECRET: ${GRAPHQL_ADMIN_SECRET}
|
||||
HASURA_GRAPHQL_CONSOLE_ASSETS_DIR: /srv/console-assets
|
||||
HASURA_GRAPHQL_CORS_DOMAIN: "*"
|
||||
HASURA_GRAPHQL_CORS_DOMAIN: '*'
|
||||
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||
HASURA_GRAPHQL_DEV_MODE: "true"
|
||||
HASURA_GRAPHQL_DISABLE_CORS: "false"
|
||||
HASURA_GRAPHQL_ENABLE_ALLOWLIST: "false"
|
||||
HASURA_GRAPHQL_ENABLE_CONSOLE: "true"
|
||||
HASURA_GRAPHQL_ENABLE_REMOTE_SCHEMA_PERMISSIONS: "false"
|
||||
HASURA_GRAPHQL_ENABLE_TELEMETRY: "false"
|
||||
HASURA_GRAPHQL_DEV_MODE: 'true'
|
||||
HASURA_GRAPHQL_DISABLE_CORS: 'false'
|
||||
HASURA_GRAPHQL_ENABLE_ALLOWLIST: 'false'
|
||||
HASURA_GRAPHQL_ENABLE_CONSOLE: 'true'
|
||||
HASURA_GRAPHQL_ENABLE_REMOTE_SCHEMA_PERMISSIONS: 'false'
|
||||
HASURA_GRAPHQL_ENABLE_TELEMETRY: 'false'
|
||||
HASURA_GRAPHQL_ENABLED_APIS: metadata,graphql,pgdump,config
|
||||
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup,http-log,webhook-log,websocket-log
|
||||
HASURA_GRAPHQL_EVENTS_HTTP_POOL_SIZE: "100"
|
||||
HASURA_GRAPHQL_INFER_FUNCTION_PERMISSIONS: "true"
|
||||
HASURA_GRAPHQL_EVENTS_HTTP_POOL_SIZE: '100'
|
||||
HASURA_GRAPHQL_INFER_FUNCTION_PERMISSIONS: 'true'
|
||||
HASURA_GRAPHQL_JWT_SECRET: ${JWT_SECRET}
|
||||
HASURA_GRAPHQL_LIVE_QUERIES_MULTIPLEXED_BATCH_SIZE: "100"
|
||||
HASURA_GRAPHQL_LIVE_QUERIES_MULTIPLEXED_REFETCH_INTERVAL: "1000"
|
||||
HASURA_GRAPHQL_LIVE_QUERIES_MULTIPLEXED_BATCH_SIZE: '100'
|
||||
HASURA_GRAPHQL_LIVE_QUERIES_MULTIPLEXED_REFETCH_INTERVAL: '1000'
|
||||
HASURA_GRAPHQL_LOG_LEVEL: warn
|
||||
HASURA_GRAPHQL_PG_CONNECTIONS: "50"
|
||||
HASURA_GRAPHQL_PG_TIMEOUT: "180"
|
||||
HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES: "false"
|
||||
HASURA_GRAPHQL_PG_CONNECTIONS: '50'
|
||||
HASURA_GRAPHQL_PG_TIMEOUT: '180'
|
||||
HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES: 'false'
|
||||
HASURA_GRAPHQL_TX_ISOLATION: read-committed
|
||||
HASURA_GRAPHQL_UNAUTHORIZED_ROLE: public
|
||||
HASURA_GRAPHQL_USE_PREPARED_STATEMENTS: "true"
|
||||
HASURA_GRAPHQL_WS_READ_COOKIE: "false"
|
||||
HASURA_GRAPHQL_USE_PREPARED_STATEMENTS: 'true'
|
||||
HASURA_GRAPHQL_WS_READ_COOKIE: 'false'
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
@@ -321,15 +321,15 @@ services:
|
||||
constraints:
|
||||
- node.hostname == crackbox
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.middlewares.replace-graphql.replacepathregex.regex=/v1(/|$$)(.*)"
|
||||
- "traefik.http.middlewares.replace-graphql.replacepathregex.replacement=/v1/graphql$$2"
|
||||
- "traefik.http.routers.hasura.entrypoints=web"
|
||||
- "traefik.http.routers.hasura.rule=Host(`${GRAPHQL_URL}`) && ( PathPrefix(`/v1`) || PathPrefix(`/v2`) || PathPrefix(`/api/`) || PathPrefix(`/console/assets`) )"
|
||||
- "traefik.http.routers.hasura.service=hasura"
|
||||
- "traefik.http.routers.hasura.tls=false"
|
||||
- "traefik.http.services.graphql.loadbalancer.server.port=8080"
|
||||
- "traefik.http.services.hasura.loadbalancer.server.port=8080"
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.http.middlewares.replace-graphql.replacepathregex.regex=/v1(/|$$)(.*)'
|
||||
- 'traefik.http.middlewares.replace-graphql.replacepathregex.replacement=/v1/graphql$$2'
|
||||
- 'traefik.http.routers.hasura.entrypoints=web'
|
||||
- 'traefik.http.routers.hasura.rule=Host(`${GRAPHQL_URL}`) && ( PathPrefix(`/v1`) || PathPrefix(`/v2`) || PathPrefix(`/api/`) || PathPrefix(`/console/assets`) )'
|
||||
- 'traefik.http.routers.hasura.service=hasura'
|
||||
- 'traefik.http.routers.hasura.tls=false'
|
||||
- 'traefik.http.services.graphql.loadbalancer.server.port=8080'
|
||||
- 'traefik.http.services.hasura.loadbalancer.server.port=8080'
|
||||
|
||||
mailhog:
|
||||
image: jcalonso/mailhog:v1.0.1
|
||||
@@ -339,8 +339,8 @@ services:
|
||||
environment:
|
||||
SMTP_HOST: mailhog
|
||||
SMTP_PASS: password
|
||||
SMTP_PORT: "1025"
|
||||
SMTP_SECURE: "false"
|
||||
SMTP_PORT: '1025'
|
||||
SMTP_SECURE: 'false'
|
||||
SMTP_SENDER: auth@example.com
|
||||
SMTP_USER: user
|
||||
volumes:
|
||||
@@ -357,12 +357,12 @@ services:
|
||||
constraints:
|
||||
- node.hostname == crackbox
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.mailhog.entrypoints=web"
|
||||
- "traefik.http.routers.mailhog.rule=Host(`${MAILHOG_URL}`)"
|
||||
- "traefik.http.routers.mailhog.service=mailhog"
|
||||
- "traefik.http.routers.mailhog.tls=false"
|
||||
- "traefik.http.services.mailhog.loadbalancer.server.port=8025"
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.http.routers.mailhog.entrypoints=web'
|
||||
- 'traefik.http.routers.mailhog.rule=Host(`${MAILHOG_URL}`)'
|
||||
- 'traefik.http.routers.mailhog.service=mailhog'
|
||||
- 'traefik.http.routers.mailhog.tls=false'
|
||||
- 'traefik.http.services.mailhog.loadbalancer.server.port=8025'
|
||||
|
||||
# minio:
|
||||
# image: minio/minio:RELEASE.2025-02-28T09-55-16Z
|
||||
@@ -396,7 +396,7 @@ services:
|
||||
- nhost
|
||||
environment:
|
||||
POSTGRES_DB: postgres
|
||||
POSTGRES_DEV_INSECURE: "true"
|
||||
POSTGRES_DEV_INSECURE: 'true'
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_USER: postgres
|
||||
healthcheck:
|
||||
@@ -449,15 +449,15 @@ services:
|
||||
BIND: :5000
|
||||
HASURA_ENDPOINT: http://graphql:8080/v1
|
||||
HASURA_GRAPHQL_ADMIN_SECRET: ${GRAPHQL_ADMIN_SECRET}
|
||||
HASURA_METADATA: "1"
|
||||
POSTGRES_MIGRATIONS: "1"
|
||||
HASURA_METADATA: '1'
|
||||
POSTGRES_MIGRATIONS: '1'
|
||||
POSTGRES_MIGRATIONS_SOURCE: postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres?sslmode=disable
|
||||
PUBLIC_URL: http://${STORAGE_URL}
|
||||
S3_ACCESS_KEY: ${STORAGE_ACCESS_KEY}
|
||||
S3_BUCKET: nhost
|
||||
S3_ENDPOINT: ${S3_ENDPOINT:-http://minio:9000}
|
||||
S3_REGION: "us-east-1"
|
||||
S3_ROOT_FOLDER: ""
|
||||
S3_REGION: 'us-east-1'
|
||||
S3_ROOT_FOLDER: ''
|
||||
S3_SECRET_KEY: ${STORAGE_SECRET_KEY}
|
||||
deploy:
|
||||
replicas: 1
|
||||
@@ -469,12 +469,12 @@ services:
|
||||
constraints:
|
||||
- node.hostname == crackbox
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.storage.entrypoints=web"
|
||||
- "traefik.http.routers.storage.rule=Host(`${STORAGE_URL}`) && PathPrefix(`/v1`)"
|
||||
- "traefik.http.routers.storage.service=storage"
|
||||
- "traefik.http.routers.storage.tls=false"
|
||||
- "traefik.http.services.storage.loadbalancer.server.port=5000"
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.http.routers.storage.entrypoints=web'
|
||||
- 'traefik.http.routers.storage.rule=Host(`${STORAGE_URL}`) && PathPrefix(`/v1`)'
|
||||
- 'traefik.http.routers.storage.service=storage'
|
||||
- 'traefik.http.routers.storage.tls=false'
|
||||
- 'traefik.http.services.storage.loadbalancer.server.port=5000'
|
||||
|
||||
volumes:
|
||||
functions_node_modules: {}
|
||||
|
||||
Reference in New Issue
Block a user