modified docker structure

This commit is contained in:
Lukian 2024-12-28 16:58:59 +01:00
parent e2d8d04c04
commit 8f11c56d1a
5 changed files with 37 additions and 4 deletions

33
client/docker-compose.yml Normal file
View file

@ -0,0 +1,33 @@
services:
companies:
build: ./company
container_name: companies
restart: always
networks:
- bourse
shareholder1:
build: ./shareholder
container_name: shareholder1
restart: always
networks:
- bourse
shareholder2:
build: ./shareholder
container_name: shareholder2
restart: always
networks:
- bourse
shareholder3:
build: ./shareholder
container_name: shareholder3
restart: always
networks:
- bourse
networks:
bourse:
driver: bridge