# Docker Compose файл для запуска двух контейнеров с приложением Ionic и настроенной сетью version: '3.8' networks: ionic_net: driver: bridge ipam: config: - subnet: 172.168.0.0/24 services: app1: build: . container_name: ionic_app1 networks: ionic_net: ipv4_address: 172.168.0.2 ports: - "8100:8100" volumes: - .:/app # deploy: # resources: # limits: # cpus: "0.5" # memory: "512M" app2: build: . container_name: ionic_app2 networks: ionic_net: ipv4_address: 172.168.0.3 ports: - "8101:8100" volumes: - .:/app # deploy: # resources: # limits: # cpus: "0.5" # memory: "512M"