Skip to content

Commit 7e84d3a

Browse files
committed
devops
1 parent 572bdcb commit 7e84d3a

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
image: postgres:10.12
88
restart: always
99
ports:
10-
- 5433:5432
10+
- 5432:5432
1111
environment:
1212
POSTGRES_USER: simpleworklist
1313
POSTGRES_PASSWORD: simpleworklistpwd

psql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22

33
echo "simpleworklistpwd"
4-
psql -h localhost -U simpleworklist -p 5433 -d simpleworklist
4+
psql -h localhost -U simpleworklist -p 5432 -d simpleworklist

setenv-sample.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22

3+
export PORT=5000
34
export MAIL_SMTP_HOST=mailhost
45
export MAIL_SMTP_PORT=465
56
export MAIL_SMTP_USERNAME='mailuser'

src/main/resources/application.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
server:
2-
port: 8080
2+
port: ${PORT}
33
error:
44
path: /fehler
55
compression:
66
enabled: false
77
min-response-size: 2048
88
spring:
99
datasource:
10-
url: jdbc:postgresql://localhost:5433/simpleworklist
10+
url: jdbc:postgresql://localhost:5432/simpleworklist
1111
username: simpleworklist
1212
password: simpleworklistpwd
1313
driverClassName: org.postgresql.Driver

0 commit comments

Comments
 (0)