Skip to content
Snippets Groups Projects
Commit 87fb6817 authored by theiled00's avatar theiled00
Browse files

Create docker-compose.yaml which contains registry and routing service

parent 16ef0f46
Branches
No related tags found
No related merge requests found
package com.fub.navigator.demohead;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class DemoHeadApplicationTests {
@Test
void contextLoads() {
}
}
version: '3'
services:
registry-service:
build: ../registry-service/registry
image: registry-service:latest
ports:
- 8761:8761
routing-service:
build: ../routing-service/routing-server
image: routing-service:latest
environment:
- JAVA_OPTS=
-DEUREKA_SERVER=http://registry-service:8761/eureka
restart: on-failure
depends_on:
- registry-service
ports:
- 8080:8080
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment