-
-
Notifications
You must be signed in to change notification settings - Fork 65
/
docker-compose.yml
50 lines (46 loc) · 1.03 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
version: "3.7"
services:
postgres:
build: ./docker/postgresql
labels:
com.naval-base.description: "PostgreSQL"
environment:
POSTGRES_USER: ""
POSTGRES_PASSWORD: ""
POSTGRES_DB: ""
expose:
- "5432"
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U yuudachi"]
interval: 10s
timeout: 5s
redis:
image: redis/redis-stack-server:latest
labels:
com.naval-base.description: "Redis"
environment:
REDIS_ARGS: ""
expose:
- "6379"
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "redis-cli ping"]
interval: 10s
timeout: 5s
prometheus:
build: ./docker/prometheus
labels:
com.naval-base.description: "Prometheus"
expose:
- "9090"
restart: unless-stopped
network_mode: "host"
grafana:
image: grafana/grafana-oss:10.0.8
labels:
com.naval-base.description: "Grafana"
expose:
- "3000"
restart: unless-stopped
network_mode: "host"