Drone-Rtc-Application/docker-compose.yaml
2024-10-14 05:30:25 +07:00

43 lines
832 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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"