Changed project structure, created docker-compose.yml for run all applications in one command.

This commit is contained in:
2023-01-13 16:58:31 +01:00
parent 749120666a
commit ea1cf0488c
70 changed files with 3915 additions and 267 deletions

View File

@@ -1,6 +1,10 @@
version: "3"
services:
redis:
image: 'redis'
restart: "no"
xmltools-frontend:
build: ./Homepage
container_name: xmltools-frontend
@@ -9,8 +13,25 @@ services:
- 8086:80
xmltools-backend:
build: ./REST_XSLT
build: ./backend/xslt-rest
container_name: xmltools-backend
image: xmltools-backend
ports:
- 8081:8081
- 8081:8081
xmltools-mocked-services:
build:
context: ./backend/mocked-services
dockerfile: Dockerfile
container_name: xmltools-mocked-services
restart: "no"
ports:
- "8097:8097"
depends_on:
- redis
environment:
SPRING_PROFILES_ACTIVE: DEV
networks:
default:
name: shared_network