diff --git a/docker-compose.yaml b/docker-compose.yaml index 21b4a48..8a5e571 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,8 +1,10 @@ + # Docker Compose файл для запуска двух контейнеров с приложением Ionic и настроенной сетью version: '3.8' networks: ionic_net: + driver: bridge ipam: config: - subnet: 172.168.0.0/24 @@ -18,6 +20,11 @@ services: - "8100:8100" volumes: - .:/app + deploy: + resources: + limits: + cpus: "0.5" + memory: "512M" app2: build: . @@ -28,4 +35,9 @@ services: ports: - "8101:8100" volumes: - - .:/app \ No newline at end of file + - .:/app + deploy: + resources: + limits: + cpus: "0.5" + memory: "512M" \ No newline at end of file