-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (36 loc) · 1.36 KB
/
docker-compose.yml
File metadata and controls
37 lines (36 loc) · 1.36 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
services:
app:
build:
context: .
dockerfile: Dockerfile
args:
GRAALVM_VERSION: ${GRAALVM_VERSION:-21}
container_name: job-tracker-app
environment:
DB_URL: jdbc:mariadb://mariadb:3306/${DB_NAME:-jobtracker}?createDatabaseIfNotExist=true&characterEncoding=UTF-8&useUnicode=true
DB_USERNAME: ${DB_USERNAME:-jobtracker}
DB_PASSWORD: ${DB_PASSWORD:?DB_PASSWORD is required}
JWT_SECRET: ${JWT_SECRET:?JWT_SECRET is required}
CORS_ALLOWED_ORIGINS: ${CORS_ALLOWED_ORIGINS:-"http://localhost:3000,http://localhost:5173"}
OTEL_EXPORTER_OTLP_ENDPOINT: ${OTEL_EXPORTER_OTLP_ENDPOINT:-http://jaeger:4317}
PROMETHEUS_URL: ${PROMETHEUS_URL:-http://prometheus:9090}
TRACING_SAMPLING_PROBABILITY: ${TRACING_SAMPLING_PROBABILITY:-1.0}
MAIL_SMTP_AUTH: ${MAIL_SMTP_AUTH:-false}
MAIL_PASSWORD: ${MAIL_PASSWORD:-00}
MAIL_USERNAME: ${MAIL_USERNAME:-00}
MAIL_PORT: ${MAIL_PORT:-1025}
MAIL_HOST: ${MAIL_HOST:-localhost}
MAIL_SMTP_SSL: ${MAIL_SMTP_SSL:-true}
MAIL_FROM: ${MAIL_FROM:-no-reply@example.com}
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:8081/actuator/health"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
networks:
- infra_network
restart: unless-stopped
networks:
infra_network:
driver: bridge