-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-example.yml
82 lines (68 loc) · 1.88 KB
/
docker-compose-example.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
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
version: "3"
services:
mysql-service:
restart: always
image: mysql:5.7
networks:
- spring-boot-mysql-network
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_DATABASE=idetix
expose:
- "3306"
ports:
- "6033:3306"
identity-approver:
restart: on-failure
image: idetix/backend:latest
expose:
- "9191"
ports:
- "9191:9191"
environment:
#Datasource
SPRING_DATASOURCE_DRIVER-CLASS-NAME: com.mysql.cj.jdbc.Driver
SPRING_DATASOURCE_URL: jdbc:mysql://mysql-service:3306/idetix
SPRING_DATASOURCE_USERNAME:
SPRING_DATASOURCE_PASSWORD:
SPRING_DATASOURCE_CONTINUE-ON-ERROR: 'true'
SPRING.DATASOURCE.HIKARI.MINIMUM-IDLE: 0
SPRING.DATASOURCE.HIKARI.INITIALIZATION-FAIL-TIMEOUT: -1
#JPA
SPRING_JPA_SHOW-SQL: 'true'
SPRING_JPA_HIBERNATE_DDL-AUTO: update
SPRING_JPA_HIBERNATE_PROPERTIES_HIBERNATE_DIALECT: org.hibernate.dialect.MySQL5Dialect
#Mail-Config
SPRING_MAIL_HOST:
SPRING_MAIL_PORT:
SPRING_MAIL_USERNAME:
SPRING_MAIL_PASSWORD:
SPRING_MAIL_PROPERTIES_MAIL_SMTP_AUTH: 'true'
SPRING_MAIL_PROPERTIES_MAIL_SMTP_starttls_enable: 'true'
SPRING_MAIL_PROPERTIES_MAIL_SMTP_starttls_required: 'true'
#SERVLET
SPRING_SERVLET_MULTIPART_MAX-FILE-SIZE: 20MB
SPRING_SERVLET_MULTIPART_MAX-REQUEST-SIZE: 20MB
#Twilio
TWILIOACCOUNTSID:
TWILIOAUTHTOKEN:
TWILIOPHONENUMBER:
#Blockchain
IDENTITY_ADDRESS:
BLOCKCHAINPRIVATKEY:
BLOCKCHAINPATH:
#AWS
AWS_SIMILARITYTHRESHOLD:
AWS_ACCESS-KEY:
AWS_SECRET-KEY:
#Teseract
TESSERACTDATAPATH: /usr/share/tessdata
#Server
SERVER_PORT: 9191
networks:
- spring-boot-mysql-network
depends_on:
- mysql-service
networks:
spring-boot-mysql-network:
driver: bridge