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:
|
eureka:
|
||||||
image: git.4o1x5.dev/learningpulse/server/eureka:dev
|
image: git.4o1x5.dev/learningpulse/server/eureka:dev
|
||||||
restart: always
|
restart: always
|
||||||
|
hostname: eureka-server
|
||||||
networks:
|
networks:
|
||||||
- learningpulse
|
- learningpulse
|
||||||
|
|
||||||
dummy:
|
dummy:
|
||||||
image: git.4o1x5.dev/learningpulse/server/dummy:dev
|
image: git.4o1x5.dev/learningpulse/server/dummy:dev
|
||||||
restart: always
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- eureka
|
||||||
networks:
|
networks:
|
||||||
- learningpulse
|
- learningpulse
|
||||||
|
environment:
|
||||||
|
EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: http://eureka-server:8761/eureka
|
||||||
|
|
||||||
gateway:
|
gateway:
|
||||||
image: git.4o1x5.dev/learningpulse/server/gateway:dev
|
image: git.4o1x5.dev/learningpulse/server/gateway:dev
|
||||||
restart: always
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- eureka
|
||||||
|
- dummy
|
||||||
ports:
|
ports:
|
||||||
- 8181:8181
|
- 8181:8181
|
||||||
networks:
|
networks:
|
||||||
- learningpulse
|
- learningpulse
|
||||||
|
environment:
|
||||||
|
EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: http://eureka-server:8761/eureka
|
||||||
|
|
||||||
# TODO once implemented into gateway
|
# TODO once implemented into gateway
|
||||||
# keycloak:
|
# keycloak:
|
||||||
|
|
|
@ -32,6 +32,6 @@ management:
|
||||||
eureka:
|
eureka:
|
||||||
client:
|
client:
|
||||||
service-url:
|
service-url:
|
||||||
defaultZone: http://localhost:8761/eureka
|
#defaultZone: http://localhost:8761/eureka
|
||||||
# Will only work when docker is used
|
# 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:
|
eureka:
|
||||||
client:
|
client:
|
||||||
service-url:
|
service-url:
|
||||||
defaultZone: http://localhost:8761/eureka
|
#defaultZone: http://localhost:8761/eureka
|
||||||
# Will only work when docker is used
|
# 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