Skip to content

Commit 75034e0

Browse files
committed
Custom address and port for Docker
1 parent 70696d5 commit 75034e0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/resources/application-docker.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
server.address=${ADDRESS:brambling-note}
2+
server.port=${PORT:8082}
3+
14
spring.config.import=consul:
25
spring.cloud.consul.host=${CONSUL_HOST:consul}
36
spring.cloud.consul.port=${CONSUL_PORT:8500}
4-
spring.cloud.consul.discovery.hostname=${$DISCOVERY_HOSTNAME:brambling-note}
57

68
spring.datasource.url=${DATASOURCE_URL:jdbc:postgresql://postgres:5432/brambling_note_note}
79
spring.datasource.username=${DATASOURCE_USERNAME:postgres}

0 commit comments

Comments
 (0)