-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
173 lines (161 loc) · 3.35 KB
/
docker-compose.dev.yml
File metadata and controls
173 lines (161 loc) · 3.35 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
volumes:
nats-data:
mongo-data:
thumbs:
networks:
internal:
services:
nats:
image: nats
restart: always
command:
- "--js"
- "--sd=/data"
networks:
- internal
ports:
- 4222:4222 # for debugging
- 8222:8222 # for debugging
volumes:
- nats-data:/data
mongodb:
image: mongo:8
restart: always
networks:
- internal
ports:
- 27017:27017 # for debugging
volumes:
- mongo-data:/data/db
mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
depends_on:
- mongodb
networks:
- internal
environment:
ME_CONFIG_MONGODB_URL: mongodb://mongodb:27017/
ME_CONFIG_BASICAUTH: false
api-gateway:
image: seraph
restart: always
command:
- api-gateway
depends_on:
- nats
- mongodb
networks:
- internal
ports:
- 8080:8080
environment:
GIN_MODE: debug
SERAPH_NATS_URL: nats://nats:4222
SERAPH_MONGO_URL: mongodb://mongodb:27017/
SERAPH_AUTH_ENABLED: false
SERAPH_AUTH_CONFIGURL: https://localhost:8180/realms/seraph
SERAPH_AUTH_REDIRECTURL: http://localhost:8080/auth/callback
SERAPH_AUTH_CLIENTID: seraph
SERAPH_LOG_LEVEL: debug
file-indexer:
image: seraph
restart: always
command:
- file-indexer
depends_on:
- nats
- mongodb
networks:
- internal
environment:
SERAPH_NATS_URL: nats://nats:4222
SERAPH_MONGO_URL: mongodb://mongodb:27017/
SERAPH_LOG_LEVEL: debug
thumbnailer:
image: seraph
restart: always
command:
- thumbnailer
depends_on:
- nats
- file-provider-thumbs
networks:
- internal
environment:
SERAPH_NATS_URL: nats://nats:4222
SERAPH_THUMBNAILER_PROVIDERID: thumbs
SERAPH_THUMBNAILER_PARALLEL: 8
SERAPH_LOG_LEVEL: debug
shares:
image: seraph
restart: always
command:
- shares
depends_on:
- nats
- mongodb
networks:
- internal
environment:
SERAPH_NATS_URL: nats://nats:4222
SERAPH_MONGO_URL: mongodb://mongodb:27017/
SERAPH_LOG_LEVEL: debug
spaces:
image: seraph
restart: always
command:
- spaces
depends_on:
- nats
- mongodb
networks:
- internal
environment:
SERAPH_NATS_URL: nats://nats:4222
SERAPH_MONGO_URL: mongodb://mongodb:27017/
SERAPH_LOG_LEVEL: debug
jobs:
image: seraph
restart: always
command:
- jobs
depends_on:
- nats
networks:
- internal
environment:
SERAPH_NATS_URL: nats://nats:4222
SERAPH_LOG_LEVEL: debug
file-provider-thumbs:
image: seraph
restart: always
command:
- file-provider-dir
depends_on:
- nats
networks:
- internal
volumes:
- thumbs:/data
environment:
SERAPH_NATS_URL: nats://nats:4222
SERAPH_FILEPROVIDER_ID: thumbs
SERAPH_FILEPROVIDER_DIR: /data
file-provider-dir:
image: seraph
restart: always
command:
- file-provider-dir
depends_on:
- nats
networks:
- internal
volumes:
- /home/vortex/loeschen/test:/data
environment:
SERAPH_NATS_URL: nats://nats:4222
SERAPH_FILEPROVIDER_ID: dirtest
SERAPH_FILEPROVIDER_DIR: /data