File tree Expand file tree Collapse file tree 3 files changed +41
-2
lines changed
Expand file tree Collapse file tree 3 files changed +41
-2
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 build :
11- runs-on : windows-latest
11+ runs-on : ubuntu-latest
12+
13+ services :
14+ mongo :
15+ image : mongo:6.0
16+ ports :
17+ - 27017:27017
18+ options : >-
19+ --health-cmd "mongosh --eval 'db.adminCommand(\"ping\")'"
20+ --health-interval 10s
21+ --health-timeout 5s
22+ --health-retries 5
23+
24+ env :
25+ MONGO_DB_HOST : localhost
26+ MONGO_DB_PORT : 27017
27+ DB_NAME : ${{ secrets.DB_NAME }}
28+ MAIL_USERNAME : ${{ secrets.USERNAME }}
29+ MAIL_PASSWORD : ${{ secrets.PASSWORD }}
30+ JWT_SECRET : ${{ secrets.JWT_SECRET }}
31+
1232
1333 steps :
1434 - name : Checkout Repository
Original file line number Diff line number Diff line change 3333.vscode /
3434
3535# Environment files
36- * .properties
36+ .mvn /
3737index.html
3838* .yml
Original file line number Diff line number Diff line change 1+ spring.application.name =Connect
2+ spring.data.mongodb.host =${MONGO_DB_HOST}
3+ spring.data.mongodb.port =${MONGO_DB_PORT}
4+ spring.data.mongodb.database =${DB_NAME}
5+
6+ spring.mail.host =smtp.gmail.com
7+ spring.mail.port =465
8+ spring.mail.username =${MAIL_USERNAME}
9+ spring.mail.password =${MAIL_PASSWORD}
10+ spring.mail.protocol =smtps
11+ spring.mail.properties.mail.smtp.auth =true
12+ spring.mail.properties.mail.smtp.ssl.enable =true
13+ spring.mail.properties.mail.smtp.ssl.trust =smtp.gmail.com
14+
15+ # Secret key for JWT Token.
16+ jwt.secret.key =${JWT_SECRET}
17+
18+ # logging for cors issues and spring security
19+ logging.level.org.springframework.security =DEBUG
You can’t perform that action at this time.
0 commit comments