这是indexloc提供的服务,不要输入任何密码
Skip to content

Remove plugins #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .data/.env.template
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
CONTAINER_PREFIX=axiomdata
MONGO_PASSWORD=hbGciOiJIUzI1NiIsInR5cCI6IkpX
POSTGRES_PASSWORD=hbGciOiJIUzI1NiIsInR5cCI6IkpX
CLICKHOUSE_PASSWORD=hbGciOiJIUzI1NiIsInR5cCI6IkpX
CACHING_PLUGIN_SECRET="zZkhKqFjqXR4g5MZCsJUZCnhCcoPyZ"
CACHING_PLUGIN_REDIS_URL="redis://local.hasura.dev:6379"
RESTIFIED_EXPORTER_OTLP_ENDPOINT="http://local.hasura.dev:4317"
RESTIFIED_GRAPHQL_SERVER_URL="http://local.hasura.dev:3280/graphql"
RESTIFIED_PLUGIN_SECRET="zZkhKqFjqXR4g5MZCsJUZCnhCcoPyZ"
CLICKHOUSE_PASSWORD=hbGciOiJIUzI1NiIsInR5cCI6IkpX
46 changes: 4 additions & 42 deletions .data/aml/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: ${CONTAINER_PREFIX}
name: axiomaml
services:
# Databases
postgres:
image: postgres
container_name: ${CONTAINER_PREFIX}_postgres
container_name: axiomaml_postgres
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql/data
Expand All @@ -22,7 +22,7 @@ services:

mongodb:
image: mongo
container_name: ${CONTAINER_PREFIX}_mongodb
container_name: axiomaml_mongodb
restart: unless-stopped
ports:
- "27017:27017"
Expand All @@ -39,6 +39,7 @@ services:
mongo-seed:
env_file:
- .env
container_name: axiomaml_mongo_seed
build:
context: ./mongo_seed
dockerfile: Dockerfile
Expand All @@ -51,45 +52,6 @@ services:
extra_hosts:
- local.hasura.dev=host-gateway

redis:
image: redis:latest
restart: unless-stopped
ports:
- 6379:6379

caching:
build:
context: https://github.com/hasura/engine-plugin-caching.git#64b184d2ea530e6314900c5177e822d2384b8fd3
restart: unless-stopped
ports:
- 8787:8787
environment:
CACHING_PLUGIN_SECRET: ${CACHING_PLUGIN_SECRET}
CACHING_PLUGIN_REDIS_URL: ${CACHING_PLUGIN_REDIS_URL}
extra_hosts:
- local.hasura.dev=host-gateway
volumes:
- ../plugins/caching/aml-config.js:/app/src/config.js

restified:
container_name: ${CONTAINER_PREFIX}_restified
build:
context: https://github.com/hasura/engine-plugin-restified-endpoint.git#paritosh/express-server
target: base
restart: unless-stopped
ports:
- "8788:8788"
environment:
OTEL_EXPORTER_OTLP_ENDPOINT: ${RESTIFIED_EXPORTER_OTLP_ENDPOINT}
GRAPHQL_SERVER_URL: ${RESTIFIED_GRAPHQL_SERVER_URL}
RESTIFIED_PLUGIN_SECRET: ${RESTIFIED_PLUGIN_SECRET}
PORT: 8788
extra_hosts:
- local.hasura.dev=host-gateway
volumes:
- ../plugins/restified/aml-config.ts:/app/src/config.ts
command: ["bash", "-c", "npm run build && npm run serve"]

volumes:
postgres-data:
mongodb-data:
43 changes: 1 addition & 42 deletions .data/cpg/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: cpg
name: axiomcpg
services:
# Databases
postgres:
Expand All @@ -20,46 +20,5 @@ services:
timeout: 5s
retries: 30

redis:
container_name: axiomcpg_redis
image: redis:latest
restart: unless-stopped
ports:
- 6379:6379

caching:
container_name: axiomcpg_caching
build:
context: https://github.com/hasura/engine-plugin-caching.git#64b184d2ea530e6314900c5177e822d2384b8fd3
restart: unless-stopped
ports:
- 8787:8787
environment:
CACHING_PLUGIN_SECRET: ${CACHING_PLUGIN_SECRET}
CACHING_PLUGIN_REDIS_URL: ${CACHING_PLUGIN_REDIS_URL}
extra_hosts:
- local.hasura.dev=host-gateway
volumes:
- ../plugins/caching/cpg-config.js:/app/src/config.js

restified:
container_name: axiomcpg_restified
build:
context: https://github.com/hasura/engine-plugin-restified-endpoint.git#paritosh/express-server
target: base
restart: unless-stopped
ports:
- "8788:8788"
environment:
OTEL_EXPORTER_OTLP_ENDPOINT: ${RESTIFIED_EXPORTER_OTLP_ENDPOINT}
GRAPHQL_SERVER_URL: ${RESTIFIED_GRAPHQL_SERVER_URL}
RESTIFIED_PLUGIN_SECRET: ${RESTIFIED_PLUGIN_SECRET}
PORT: 8788
extra_hosts:
- local.hasura.dev=host-gateway
volumes:
- ../plugins/restified/cpg-config.ts:/app/src/config.ts
command: ["bash", "-c", "npm run build && npm run serve"]

volumes:
postgres-data:
39 changes: 0 additions & 39 deletions .data/diligence/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,44 +20,5 @@ services:
timeout: 5s
retries: 30

redis:
image: redis:latest
restart: unless-stopped
ports:
- 6379:6379

caching:
build:
context: https://github.com/hasura/engine-plugin-caching.git#64b184d2ea530e6314900c5177e822d2384b8fd3
restart: unless-stopped
ports:
- 8787:8787
environment:
CACHING_PLUGIN_SECRET: ${CACHING_PLUGIN_SECRET}
CACHING_PLUGIN_REDIS_URL: ${CACHING_PLUGIN_REDIS_URL}
extra_hosts:
- local.hasura.dev=host-gateway
volumes:
- ../plugins/caching/diligence-config.js:/app/src/config.js

restified:
container_name: ${CONTAINER_PREFIX}_restified
build:
context: https://github.com/hasura/engine-plugin-restified-endpoint.git#paritosh/express-server
target: base
restart: unless-stopped
ports:
- "8788:8788"
environment:
OTEL_EXPORTER_OTLP_ENDPOINT: ${RESTIFIED_EXPORTER_OTLP_ENDPOINT}
GRAPHQL_SERVER_URL: ${RESTIFIED_GRAPHQL_SERVER_URL}
RESTIFIED_PLUGIN_SECRET: ${RESTIFIED_PLUGIN_SECRET}
PORT: 8788
extra_hosts:
- local.hasura.dev=host-gateway
volumes:
- ../plugins/restified/diligence-config.ts:/app/src/config.ts
command: ["bash", "-c", "npm run build && npm run serve"]

volumes:
postgres-data:
45 changes: 3 additions & 42 deletions .data/gtm/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: gtm
name: axiomgtm
services:
# Databases
postgres:
image: postgres
container_name: gtm_postgres
container_name: axiomgtm_postgres
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql/data
Expand All @@ -22,7 +22,7 @@ services:

pgvector:
image: ankane/pgvector:latest
container_name: gtm_pgvector
container_name: axiomgtm_pgvector
restart: unless-stopped
ports:
- "5433:5432"
Expand All @@ -39,45 +39,6 @@ services:
timeout: 5s
retries: 30

redis:
image: redis:latest
restart: unless-stopped
ports:
- 6379:6379

caching:
build:
context: https://github.com/hasura/engine-plugin-caching.git#64b184d2ea530e6314900c5177e822d2384b8fd3
restart: unless-stopped
ports:
- 8787:8787
environment:
CACHING_PLUGIN_SECRET: ${CACHING_PLUGIN_SECRET}
CACHING_PLUGIN_REDIS_URL: ${CACHING_PLUGIN_REDIS_URL}
extra_hosts:
- local.hasura.dev=host-gateway
volumes:
- ../plugins/caching/gtm-config.js:/app/src/config.js

restified:
container_name: ${CONTAINER_PREFIX}_restified
build:
context: https://github.com/hasura/engine-plugin-restified-endpoint.git#paritosh/express-server
target: base
restart: unless-stopped
ports:
- "8788:8788"
environment:
OTEL_EXPORTER_OTLP_ENDPOINT: ${RESTIFIED_EXPORTER_OTLP_ENDPOINT}
GRAPHQL_SERVER_URL: ${RESTIFIED_GRAPHQL_SERVER_URL}
RESTIFIED_PLUGIN_SECRET: ${RESTIFIED_PLUGIN_SECRET}
PORT: 8788
extra_hosts:
- local.hasura.dev=host-gateway
volumes:
- ../plugins/restified/gtm-config.ts:/app/src/config.ts
command: ["bash", "-c", "npm run build && npm run serve"]

volumes:
postgres-data:
pgvector-data:
43 changes: 2 additions & 41 deletions .data/healthcare/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: ${CONTAINER_PREFIX}
name: axiomhealthcare
services:
# Databases
postgres:
image: postgres
container_name: ${CONTAINER_PREFIX}_postgres
container_name: axiomhealthcare_postgres
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql/data
Expand All @@ -20,44 +20,5 @@ services:
timeout: 5s
retries: 30

redis:
image: redis:latest
restart: unless-stopped
ports:
- 6379:6379

caching:
build:
context: https://github.com/hasura/engine-plugin-caching.git#64b184d2ea530e6314900c5177e822d2384b8fd3
restart: unless-stopped
ports:
- 8787:8787
environment:
CACHING_PLUGIN_SECRET: ${CACHING_PLUGIN_SECRET}
CACHING_PLUGIN_REDIS_URL: ${CACHING_PLUGIN_REDIS_URL}
extra_hosts:
- local.hasura.dev=host-gateway
volumes:
- ../plugins/caching/healthcare-config.js:/app/src/config.js

restified:
container_name: ${CONTAINER_PREFIX}_restified
build:
context: https://github.com/hasura/engine-plugin-restified-endpoint.git#paritosh/express-server
target: base
restart: unless-stopped
ports:
- "8788:8788"
environment:
OTEL_EXPORTER_OTLP_ENDPOINT: ${RESTIFIED_EXPORTER_OTLP_ENDPOINT}
GRAPHQL_SERVER_URL: ${RESTIFIED_GRAPHQL_SERVER_URL}
RESTIFIED_PLUGIN_SECRET: ${RESTIFIED_PLUGIN_SECRET}
PORT: 8788
extra_hosts:
- local.hasura.dev=host-gateway
volumes:
- ../plugins/restified/healthcare-config.ts:/app/src/config.ts
command: ["bash", "-c", "npm run build && npm run serve"]

volumes:
postgres-data:
13 changes: 0 additions & 13 deletions .data/plugins/caching/aml-config.js

This file was deleted.

13 changes: 0 additions & 13 deletions .data/plugins/caching/gtm-config.js

This file was deleted.

13 changes: 0 additions & 13 deletions .data/plugins/caching/healthcare-config.js

This file was deleted.

21 changes: 0 additions & 21 deletions .data/plugins/caching/telco-config.js

This file was deleted.

Loading