Initial version (#1)
All checks were successful
Build / build (push) Successful in 41s
Lint / lint (push) Successful in 13s

Co-authored-by: Julien Valverdé <julien.valverde@mailo.com>
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2025-09-18 01:26:10 +02:00
parent ab2fff9a9f
commit c0cac90a66
47 changed files with 1633 additions and 0 deletions

75
compose.yml Normal file
View File

@@ -0,0 +1,75 @@
x-service-base: &service-base
user: ${UID:?UID missing}:${GID:?GID missing}
tty: true
x-volume-app: &volume-app ./:/app/
x-env-base: &env-base
TZ: ${TZ:?TZ missing}
services:
server:
<<: *service-base
image: node:22.19.0
volumes:
- *volume-app
working_dir: /app/packages/server
env_file: .env
environment:
<<: *env-base
entrypoint: ["npm", "run", "node:dev"]
cli:
<<: *service-base
image: oven/bun:1.2.22
volumes:
- *volume-app
working_dir: /app
env_file: .env
environment:
<<: *env-base
NODE_ENV: development
entrypoint: ["/bin/bash"]
stop_signal: SIGKILL
webapp:
<<: *service-base
image: node:22.19.0
ports:
- ${PORT:?PORT missing}:80
volumes:
- *volume-app
working_dir: /app/packages/webapp
environment:
<<: *env-base
entrypoint: ["npm", "run", "dev"]
stop_signal: SIGKILL
tempo:
<<: *service-base
image: grafana/tempo:main-8d7feda
command: [-config.file=/etc/tempo.yaml]
volumes:
- ./telemetry/tempo.yaml:/etc/tempo.yaml
- ./tempo_data/:/data/
stop_signal: SIGKILL
prometheus:
image: prom/prometheus:v3.5.0
command:
- --config.file=/etc/prometheus.yaml
- --web.enable-remote-write-receiver
- --enable-feature=exemplar-storage
volumes:
- ./telemetry/prometheus.yaml:/etc/prometheus.yaml
grafana:
image: grafana/grafana:12.3.0-17782621999
volumes:
- ./telemetry/grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
environment:
GF_AUTH_ANONYMOUS_ENABLED: true
GF_AUTH_ANONYMOUS_ORG_ROLE: Admin
GF_AUTH_DISABLE_LOGIN_FORM: true
GF_FEATURE_TOGGLES_ENABLE: traceqlEditor