-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathdocker-compose.yml
60 lines (52 loc) · 1.75 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
50
51
52
53
54
55
56
57
version: '3'
services:
db:
container_name: postgres
image: postgres
restart: always
environment:
POSTGRES_DB: kraken
POSTGRES_USER: root
POSTGRES_PASSWORD: root
ports:
- "5432:5432"
s3:
container_name: minio
image: minio/minio
environment:
- MINIO_ROOT_USER=admin
- MINIO_ROOT_PASSWORD=password
ports:
- "9000:9000"
- "9001:9001"
volumes:
- ./kraken-server/s3:/data
command: server /data --console-address ":9001"
kraken-server:
container_name: server
image: krakendbpc/kraken-server
ports:
- "5000:5000"
command: java
-Dapplication.security.jwt-token-signing-key=password
-Dspring.datasource.url=jdbc:postgresql://db:5432/kraken
-Dspring.datasource.username=root -Dspring.datasource.password=root
-Dfile-storage.url=http://s3:9000
-Dfile-storage.access-key=admin -Dfile-storage.secret-key=password
-Dspring.security.user.password=password
-Dspring.mail.host=url -Dspring.mail.port=0
-Dspring.mail.username=username -Dspring.mail.password=password
-Dapplication.mail.from-address=email -Dapplication.mail.web-url=http://localhost:3000
-Dapplication.recaptcha.secret=secret
-jar kraken-server.jar
depends_on:
- "db"
- "s3"
kraken-client:
container_name: client
image: krakendbpc/kraken-client
ports:
- "8443:443"
- "8080:80"
depends_on:
- "kraken-server"