docker-compose:
All checks were successful
build and publish docker image / deploy / build (push) Successful in 1m39s
All checks were successful
build and publish docker image / deploy / build (push) Successful in 1m39s
some changes? idk eureka has problems finding services
This commit is contained in:
parent
81b6958bb2
commit
a90725ce7e
|
@ -6,22 +6,32 @@ services:
|
|||
eureka:
|
||||
image: git.4o1x5.dev/learningpulse/server/eureka:dev
|
||||
restart: always
|
||||
hostname: eureka-server
|
||||
networks:
|
||||
- learningpulse
|
||||
|
||||
dummy:
|
||||
image: git.4o1x5.dev/learningpulse/server/dummy:dev
|
||||
restart: always
|
||||
depends_on:
|
||||
- eureka
|
||||
networks:
|
||||
- learningpulse
|
||||
environment:
|
||||
EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: http://eureka-server:8761/eureka
|
||||
|
||||
gateway:
|
||||
image: git.4o1x5.dev/learningpulse/server/gateway:dev
|
||||
restart: always
|
||||
depends_on:
|
||||
- eureka
|
||||
- dummy
|
||||
ports:
|
||||
- 8181:8181
|
||||
networks:
|
||||
- learningpulse
|
||||
environment:
|
||||
EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: http://eureka-server:8761/eureka
|
||||
|
||||
# TODO once implemented into gateway
|
||||
# keycloak:
|
||||
|
|
|
@ -32,6 +32,6 @@ management:
|
|||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
defaultZone: http://localhost:8761/eureka
|
||||
#defaultZone: http://localhost:8761/eureka
|
||||
# Will only work when docker is used
|
||||
# defaultZone: http://${app.eureka-server}:8761/eureka
|
||||
defaultZone: http://eureka-server:8761/eureka
|
||||
|
|
|
@ -74,6 +74,6 @@ springdoc:
|
|||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
defaultZone: http://localhost:8761/eureka
|
||||
#defaultZone: http://localhost:8761/eureka
|
||||
# Will only work when docker is used
|
||||
# defaultZone: http://${app.eureka-server}:8761/eureka
|
||||
defaultZone: http://eureka-server:8761/eureka
|
||||
|
|
Reference in a new issue