-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
73 lines (67 loc) · 1.41 KB
/
compose.yaml
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
services:
database:
image: 'postgres:latest'
ports:
- 5432:5432
env_file:
- .env
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
interval: 10s
timeout: 5s
retries: 5
redis:
image: 'redis:latest'
ports:
- 6379:6379
env_file:
- .env
server:
image: 'mvw-server:0.6'
env_file:
- .env
depends_on:
- database
- redis
- typesense
volumes:
- ./Mediatheke:/Mediatheke
restart: always
client:
image: 'mvw-client:0.3'
env_file:
- .env
volumes:
- ./Mediatheke-Client/src:/app/src
- ./Mediatheke-Client/angular.json:/app/angular.json
- ./Mediatheke-Client/tsconfig.json:/app/tsconfig.json
depends_on:
- server
nginx:
image: nginx:latest
ports:
- 80:80
- 443:443
volumes:
- ./Configuration/nginx.conf:/etc/nginx/conf.d/default.conf
- ./Configuration/certs:/etc/nginx/ssl
depends_on:
- server
typesense:
image: typesense/typesense:0.25.0
restart: on-failure
ports:
- "8108:8108"
volumes:
- ./typesense-data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8108/health"]
interval: 10s
timeout: 5s
retries: 5
command: '--data-dir /data --api-key=xyz --enable-cors'
volumes:
db-data:
driver: local
event-data:
driver: local