ci stuff
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 1m42s
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 1m42s
This commit is contained in:
parent
4582be43b3
commit
e230ae877d
@ -47,5 +47,5 @@ jobs:
|
||||
- name: Push to dokku
|
||||
uses: dokku/github-action@master
|
||||
with:
|
||||
git_remote_url: "ssh://dokku@10.0.50.175:22/paste-backend"
|
||||
git_remote_url: "ssh://dokku@10.0.50.175:22/ssu-backend"
|
||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
2
pom.xml
2
pom.xml
@ -80,7 +80,7 @@
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
<version>2.8.8</version>
|
||||
<version>2.9.1</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Websockets -->
|
||||
|
@ -35,7 +35,6 @@ public class AccountService {
|
||||
this.accountRepository = accountRepository;
|
||||
this.scoreSaberService = scoreSaberService;
|
||||
|
||||
// todo: Schedule the account update task.
|
||||
Timer.scheduleRepeating(() -> {
|
||||
List<Account> accounts = accountRepository.findAll();
|
||||
log.info("Updating accounts.");
|
||||
|
23
src/main/resources/application.yml
Normal file
23
src/main/resources/application.yml
Normal file
@ -0,0 +1,23 @@
|
||||
server:
|
||||
address: 0.0.0.0
|
||||
port: 3005
|
||||
servlet:
|
||||
context-path: /
|
||||
|
||||
# Spring Configuration
|
||||
spring:
|
||||
# Don't include null properties in JSON
|
||||
jackson:
|
||||
default-property-inclusion: non_null
|
||||
data:
|
||||
# MongoDB - This is used for general data storage
|
||||
mongodb:
|
||||
uri: mongodb://localhost:27017
|
||||
database: ssu-prod
|
||||
|
||||
# Set the embedded MongoDB version
|
||||
de:
|
||||
flapdoodle:
|
||||
mongodb:
|
||||
embedded:
|
||||
version: 7.0.8
|
Loading…
x
Reference in New Issue
Block a user