diff --git a/README.md b/README.md index 441e16d..6ba7b43 100644 --- a/README.md +++ b/README.md @@ -33,3 +33,27 @@ Stop running containers: ``` docker compose down ``` + +## Media + +### Life without Docker Compose + +![Life without Docker Compose](media/life-without-docker-compose.svg) + +### Containers Architecture + +![Containers Architecture](media/containers-architecture.svg) + +### Networking - docker-compose.yml + +![Networking - docker-compose.yml](media/networking.svg) + +### Networking - host network - docker-compose-local.yml + +![Networking - host network - docker-compose-local.yml](media/networking-host-network.svg) + +### DCCT - Docker Compose Cloud Tester + +- [DCCT repository](https://gitlab.televendcloud.com/cloud/dc-cloud-tester) + +![DCCT - Docker Compose Cloud Tester](media/dcct.svg) diff --git a/media/containers-architecture.svg b/media/containers-architecture.svg new file mode 100644 index 0000000..d041c71 --- /dev/null +++ b/media/containers-architecture.svg @@ -0,0 +1,21 @@ + + + + + + + + Proxy Containerenvoy proxyFrontend Containernginxfrontend appstatic content(html, js, images)Database ContainerpostgresMachines Containermachines app/machines/machines/:machineId/machines/:machineId/productsProducts Containerproducts app 1/products/products/:productIdProducts Containerproducts app 2/products/products/:productIdtable:machinestable:products:8080:10000machines-app:4000products-app:4001products-app-1products-app-2/machines/productsdockerloadbalancer \ No newline at end of file diff --git a/media/dcct.svg b/media/dcct.svg new file mode 100644 index 0000000..8ade00a --- /dev/null +++ b/media/dcct.svg @@ -0,0 +1,21 @@ + + + + + + + + Database ContainerpostgresRedis ContainerredisRabbitMQ ContainerrabbitApp Tester Containerrun-tester.shdocker-compose.yml- environment- settings- environmentCWAAdaptersMMSRoutesService configurationsPython 3.7AWS ECRDB ImagePython 3.10Python 3.11internal networkdb:5432redis:6379rabbitmq:5672run-dcct.sh \ No newline at end of file diff --git a/media/life-without-docker-compose.svg b/media/life-without-docker-compose.svg new file mode 100644 index 0000000..2502844 --- /dev/null +++ b/media/life-without-docker-compose.svg @@ -0,0 +1,21 @@ + + + + + + + + network- docker network create- docker network connect machines-app- docker network connect products-appProductsapp- docker build- docker run- set environmentMachinesapp- docker build- docker run- set environmentFrontend app- docker build- docker run- set environment- publish portsDatabase- docker build- docker run- set environment \ No newline at end of file diff --git a/media/networking-host-network.svg b/media/networking-host-network.svg new file mode 100644 index 0000000..8f4286b --- /dev/null +++ b/media/networking-host-network.svg @@ -0,0 +1,21 @@ + + + + + + + + Frontend/ nginxProxyMachinesappProductsDatabasemachines:4000products:4001db:5432proxy:10000host network:10000:80 \ No newline at end of file diff --git a/media/networking.svg b/media/networking.svg new file mode 100644 index 0000000..17a6497 --- /dev/null +++ b/media/networking.svg @@ -0,0 +1,21 @@ + + + + + + + + Frontend/ nginxProxyMachinesappProductsapp 1Productsapp 2Databasefrontend-netbackend-netDockerload balancermachines:4000products:4001db:5432proxy:10000host network:10000:8080 \ No newline at end of file