-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
95 lines (86 loc) · 1.75 KB
/
docker-compose.yml
File metadata and controls
95 lines (86 loc) · 1.75 KB
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
86
87
88
89
90
91
92
93
94
95
version: '3.7'
services:
nginx:
image: ghcr.io/husky-dev/kremen-api/nginx:latest
container_name: nginx
hostname: nginx
depends_on:
- transport-api
- equipment-api
- img
- ws
volumes:
- 'ssl:/etc/letsencrypt'
ports:
- '80:80'
- '443:443'
restart: always
transport-api:
image: ghcr.io/husky-dev/kremen-api/transport-api:latest
container_name: transport-api
hostname: transport-api
depends_on:
- mongo
- redis
environment:
- NODE_ENV
- LOG_LEVEL
- SENTRY_DSN=$TRANSPORT_API_SENTRY_DSN
restart: always
equipment-api:
image: ghcr.io/husky-dev/kremen-api/equipment-api:latest
container_name: equipment-api
hostname: equipment-api
depends_on:
- mongo
- redis
environment:
- NODE_ENV
- LOG_LEVEL
- SENTRY_DSN=$EQUIPMENT_API_SENTRY_DSN
restart: always
ws:
image: ghcr.io/husky-dev/kremen-api/ws:latest
container_name: ws
hostname: ws
depends_on:
- redis
environment:
- NODE_ENV
- LOG_LEVEL
- SENTRY_DSN=$WS_SENTRY_DSN
restart: always
img:
image: ghcr.io/husky-dev/kremen-api/img:latest
container_name: img
hostname: img
volumes:
- 'img-cache:/usr/src/app/cache'
environment:
- NODE_ENV
- LOG_LEVEL
- CACHE_ENABLED
restart: always
redis:
image: redis:6.0-alpine
container_name: redis
hostname: redis
volumes:
- redis:/data
restart: always
mongo:
image: mongo:4.4
container_name: mongo
hostname: mongo
volumes:
- mongo:/data/db
restart: always
volumes:
ssl:
name: ssl
redis:
name: redis
mongo:
name: mongo
img-cache:
name: img-cache