-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
85 lines (81 loc) · 1.98 KB
/
docker-compose.yml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: '3.4'
name: wave
services:
web:
image: ${DOCKER_REGISTRY-}wave
build:
context: .
dockerfile: Wave/Dockerfile
restart: unless-stopped
ports:
- "80:8080"
links:
- database:db
environment:
- "TZ=Europe/Berlin"
- "WAVE_ConnectionStrings__DefaultConnection=Host=db; Username=wave; Password=development; Include Error Detail=true"
- "WAVE_ConnectionStrings__Redis=redis,password=development"
- "WAVE_Loki=http://loki:3100"
- "WAVE_Features__Telemetry=true"
volumes:
- wave-files:/app/files
- wave-config:/configuration
depends_on:
database:
condition: service_started
database:
image: postgres:16.1-alpine
restart: unless-stopped
environment:
- "POSTGRES_DB=wave"
- "POSTGRES_USER=wave"
- "POSTGRES_PASSWORD=development"
volumes:
- wave-db:/var/lib/postgresql/data
redis:
image: redis:7-alpine
restart: unless-stopped
command: redis-server --requirepass development --save 60 1 --loglevel warning
volumes:
- wave-redis:/data
loki:
image: grafana/loki:master
ports:
- 3100:3100
healthcheck:
test: wget -q --tries=1 -O- http://localhost:3100/ready
interval: 3s
timeout: 3s
retries: 10
start_period: 10s
grafana:
image: grafana/grafana:master
ports:
- 3000:3000
volumes:
- ./provisioning:/etc/grafana/provisioning
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
depends_on:
loki:
condition: service_healthy
prometheus:
image: prom/prometheus:v2.45.0
restart: unless-stopped
ports:
- 9090:9090
volumes:
- ./prometheus:/etc/prometheus
mailhog:
image: mailhog/mailhog:latest
restart: unless-stopped
ports:
- 8080:8025
profiles: ["smtp-debug"]
volumes:
wave-files:
wave-config:
wave-db:
wave-redis: