* Chore disable git submodule for web-client and app-backend * Chore add newest source code of app-backend and web-client --------- Co-authored-by: Hien To <tominhhien97@gmail.com>
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
version: "3.6"
|
|
services:
|
|
postgres:
|
|
image: postgres:13
|
|
restart: always
|
|
volumes:
|
|
- db_data:/var/lib/postgresql/data
|
|
env_file:
|
|
- .env_postgresql
|
|
graphql-engine:
|
|
image: hasura/graphql-engine:v2.31.0.cli-migrations-v3
|
|
ports:
|
|
- "8080:8080"
|
|
restart: always
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./hasura/migrations:/migrations
|
|
- ./hasura/metadata:/metadata
|
|
depends_on:
|
|
data-connector-agent:
|
|
condition: service_healthy
|
|
|
|
data-connector-agent:
|
|
image: hasura/graphql-data-connector:v2.31.0
|
|
restart: always
|
|
ports:
|
|
- 8081:8081
|
|
environment:
|
|
QUARKUS_LOG_LEVEL: ERROR # FATAL, ERROR, WARN, INFO, DEBUG, TRACE
|
|
## https://quarkus.io/guides/opentelemetry#configuration-reference
|
|
QUARKUS_OPENTELEMETRY_ENABLED: "false"
|
|
## QUARKUS_OPENTELEMETRY_TRACER_EXPORTER_OTLP_ENDPOINT: http://jaeger:4317
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8081/api/v1/athena/health"]
|
|
interval: 5s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 5s
|
|
worker:
|
|
build:
|
|
context: ./worker
|
|
dockerfile: ./Dockerfile
|
|
restart: always
|
|
environment:
|
|
- "NODE_ENV=development"
|
|
volumes:
|
|
- ./worker:/worker
|
|
ports:
|
|
- "8787:8787"
|
|
volumes:
|
|
db_data:
|