-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (48 loc) · 879 Bytes
/
docker-compose.yml
File metadata and controls
53 lines (48 loc) · 879 Bytes
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
version: "3"
services:
postgres:
image: postgres:latest
volumes:
- ./pg_data:/var/lib/postgresql/data
networks:
- default
env_file:
- api/.env
ports:
- "5432:5432"
keydb:
build:
context: .
dockerfile: keydbJSONSearch.Dockerfile
container_name: keydb
env_file:
- api/.env
networks:
- default
volumes:
- data:/data
ports:
- "6379:6379"
kdb-panel:
container_name: kdb-panel
image: ghcr.io/joeferner/redis-commander:latest
environment:
REDIS_HOST: keydb
REDIS_PORT: 6379
REDIS_PASSWORD: somestrongandexcellentpassword
ports:
- "8081:8081"
ttrack_api:
build: .
env_file:
- api/.env
container_name: ttrack-api
networks:
- default
depends_on:
- keydb
ports:
- "8000:8000"
volumes:
data:
driver: local