-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.sqlite.yaml
More file actions
59 lines (55 loc) · 1.62 KB
/
docker-compose.sqlite.yaml
File metadata and controls
59 lines (55 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: "3.7"
services:
jaeger:
image: quay.io/jaegertracing/all-in-one:latest
restart: always
environment:
LOG_LEVEL: debug
COLLECTOR_OTLP_ENABLED: 'true'
ports:
- "${JARGER_WEBUI_PORT:-16686}:16686"
- "${OTLP_EXPORTER_PORT:-4317}:4317"
backend:
restart: on-failure:5
build:
context: ./src/backend
args:
IMAGE_VERSION: ${VERSION}
image: oci.local/${PROJECT_NAMESPACE}/${PROJECT_NAME}/backend:${VERSION}
# command: tail -f /dev/null
# command: hypercorn --bind 0.0.0.0:8001 asgi:app --reload
ports:
- "48180:8000"
environment:
TZ: Canada/Montreal
# OTLP GRPC
OTEL_EXPORTER_OTLP_ENDPOINT: ${OTEL_EXPORTER_OTLP_ENDPOINT:-http://jaeger:4317}
OTEL_EXPORTER_OTLP_INSECURE: ${OTEL_EXPORTER_OTLP_INSECURE:-true}
# Sqlite
DATABASE_ENGINE: "sqlite"
links:
- jaeger
# volumes:
# - ./src/backend/src:/usr/local/app/src
frontend:
restart: on-failure:5
build:
context: ./src/frontend
args:
IMAGE_VERSION: ${VERSION}
image: oci.local/${PROJECT_NAMESPACE}/${PROJECT_NAME}/frontend:${VERSION}
# command: tail -f /dev/null
# command: hypercorn --bind 0.0.0.0:8000 asgi:app --reload
ports:
- "48080:8000"
environment:
BACKEND_API_URL: http://backend:8000
TZ: Canada/Montreal
# OTLP GRPC
OTEL_EXPORTER_OTLP_ENDPOINT: ${OTEL_EXPORTER_OTLP_ENDPOINT:-http://jaeger:4317}
OTEL_EXPORTER_OTLP_INSECURE: ${OTEL_EXPORTER_OTLP_INSECURE:-true}
links:
- backend
- jaeger
volumes:
- ./src/frontend/src:/usr/local/app/src