Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit ce444f4

Browse files
Here is a concise commit message in the format [EMOJI] [TYPE](file/topic): [description in ]:
✨ (fix) application.yml: Update EUREKA_URL environment variable Or, if you want to include both files: ✨ (fix) application.yml: Update EUREKA_URL environment variable ✨ (fix) deploy.yml: Add EUREKA_URL Docker secret
1 parent f47829b commit ce444f4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ jobs:
3131
docker run -d --network host --name eureka_server \
3232
-e SPRING_PROFILES_ACTIVE=prod \
3333
-e eureka.environment=prod \
34+
-e EUREKA_URL=${{ secrets.EUREKA_URL }} \
3435
${{ secrets.DOCKERHUB_REPOSITORY }}:latest

src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ server:
33

44
eureka:
55
instance:
6-
hostname: eureka.imaginer.com.br
6+
hostname: ${EUREKA_URL:-localhost}
77
client:
88
register-with-eureka: false
99
fetch-registry: true

0 commit comments

Comments
 (0)