-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
49 lines (45 loc) · 1.14 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
version: "3.9"
services:
accounter-db:
image: postgres:14
container_name: accounter-db
restart: always
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: accounter
volumes:
- ./data:/var/lib/postgresql/data
ports:
- 5432:5432
accounter-backend:
build: .
depends_on:
- accounter-db
env_file:
- docker.env
network_mode: host
container_name: accounter-backend
restart: always
command: "--migrate --dev"
accounter-jeager:
image: jaegertracing/all-in-one:latest
network_mode: host
container_name: accounter-jeager
restart: always
ports:
- 16686:16686
- 14268:14268
accounter-grafana:
image: grafana/grafana:latest
container_name: accounter-grafana
security_opt:
- no-new-privileges:true
restart: unless-stopped
network_mode: host
ports:
- 3000:3000
environment:
GF_INSTALL_PLUGINS: "grafana-clock-panel,grafana-simple-json-datasource,grafana-worldmap-panel,grafana-piechart-panel"
GF_SECURITY_ADMIN_PASSWORD: admin
GF_USERS_ALLOW_SIGN_UP: "false"