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

Co-authored-by: Artur Kołecki <koleckiartur@icloud.com>
Reviewed-on: R11/release11-tools-web#2
This commit is contained in:
2023-01-13 17:08:09 +01:00
parent 7f768d21fd
commit 9d7a62c37c
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