Запуск и останов системы
$ agis-start-cont
$ agis-stop-cont
Запуск и перезапуск системы
$ agis-start-cont Network agis-net is external, skipping Creating agis-mongo-db ... done Creating agis-postgis-db ... done Creating agis-elastic-db ... done /data/agis/agis-is Network agis-net is external, skipping Creating agis-is ... done /data/agis/agis-as Network agis-net is external, skipping Creating agis-as ... done /data/agis/agis-translate Network agis-net is external, skipping Creating agis-translate ... done /data/agis/agis-admin Network agis-net is external, skipping Creating agis-admin ... done /data/agis/agis-passport Network agis-net is external, skipping Creating agis-passport ... done /data/agis/agis-zander Network agis-net is external, skipping Creating agis-zander ... done /data/agis/agis-integration-service Network agis-net is external, skipping Creating agis-integration-service ... done /data/agis/agis-tile-server Network agis-net is external, skipping Creating agis-tile-server ... done /data/agis/agis-calc Network agis-net is external, skipping Creating agis-calc ... done /data/agis/agis-opc-server Network agis-net is external, skipping Creating agis-opc-server ... done /data/agis/agis-model-service Network agis-net is external, skipping Creating agis-model-service ... done /data/agis/agis-model-facade Network agis-net is external, skipping Creating agis-model-facade ... done /data/agis/agis-odata Network agis-net is external, skipping Creating agis-odata ... done /data/agis/agis-pwa-scada Network agis-net is external, skipping Creating agis-pwa-scada ... done /data/agis/agis-nginx Network agis-net is external, skipping Creating agis-nginx ... done
Останов системы
$ agis-stop-cont /data/agis/agis-is Stopping agis-is ... done Removing agis-is ... done Network agis-net is external, skipping /data/agis/agis-as Stopping agis-as ... done Removing agis-as ... done Network agis-net is external, skipping /data/agis/agis-translate Stopping agis-translate ... done Removing agis-translate ... done Network agis-net is external, skipping /data/agis/agis-admin Stopping agis-admin ... done Removing agis-admin ... done Network agis-net is external, skipping /data/agis/agis-passport Stopping agis-passport ... done Removing agis-passport ... done Network agis-net is external, skipping /data/agis/agis-zander Stopping agis-zander ... done Removing agis-zander ... done Network agis-net is external, skipping /data/agis/agis-integration-service Stopping agis-integration-service ... done Removing agis-integration-service ... done Network agis-net is external, skipping /data/agis/agis-tile-server Stopping agis-tile-server ... done Removing agis-tile-server ... done Network agis-net is external, skipping /data/agis/agis-calc Stopping agis-calc ... done Removing agis-calc ... done Network agis-net is external, skipping /data/agis/agis-opc-server Stopping agis-opc-server ... done Removing agis-opc-server ... done Network agis-net is external, skipping /data/agis/agis-model-service Stopping agis-model-service ... done Removing agis-model-service ... done Network agis-net is external, skipping /data/agis/agis-model-facade Stopping agis-model-facade ... done Removing agis-model-facade ... done Network agis-net is external, skipping /data/agis/agis-odata Stopping agis-odata ... done Removing agis-odata ... done Network agis-net is external, skipping /data/agis/agis-pwa-scada Stopping agis-pwa-scada ... done Removing agis-pwa-scada ... done Network agis-net is external, skipping /data/agis/agis-nginx Stopping agis-nginx ... done Removing agis-nginx ... done Network agis-net is external, skipping Stopping agis-postgis-db ... done Stopping agis-elastic-db ... done Stopping agis-mongo-db ... done Removing agis-postgis-db ... done Removing agis-elastic-db ... done Removing agis-mongo-db ... done Network agis-net is external, skipping
Результат
Будут запущены следующие контейнеры:
$ docker ps -a NAMES STATUS PORTS agis-nginx Up 17 minutes 80/tcp, 0.0.0.0:4301-4303->4301-4303/tcp, :::4301-4303->4301-4303/tcp agis-pwa-scada Up 17 minutes 0.0.0.0:30330->3000/tcp, :::30330->3000/tcp agis-odata Up 17 minutes 0.0.0.0:30305->3000/tcp, :::30305->3000/tcp agis-model-facade Up 9 minutes 0.0.0.0:30303->3000/tcp, :::30303->3000/tcp agis-model-service Up 17 minutes 0.0.0.0:30322->3000/tcp, :::30322->3000/tcp agis-opc-server Up 17 minutes 0.0.0.0:30316->30316/tcp, :::30316->30316/tcp agis-calc Up 17 minutes 0.0.0.0:30310->3000/tcp, :::30310->3000/tcp agis-tile-server Up 17 minutes 0.0.0.0:30308->9910/tcp, :::30308->9910/tcp agis-integration-service Up 17 minutes 0.0.0.0:30302->3000/tcp, :::30302->3000/tcp agis-zander Up 17 minutes 0.0.0.0:30300->3000/tcp, :::30300->3000/tcp agis-passport Up 17 minutes 0.0.0.0:30326->3000/tcp, :::30326->3000/tcp agis-admin Up 17 minutes 0.0.0.0:30320-30321->30320-30321/tcp, :::30320-30321->30320-30321/tcp agis-translate Up 17 minutes 0.0.0.0:30325->3000/tcp, :::30325->3000/tcp agis-as Up 17 minutes 0.0.0.0:30324->3000/tcp, :::30324->3000/tcp agis-is Up 17 minutes 0.0.0.0:30323->3000/tcp, :::30323->3000/tcp agis-elastic-db Up 18 minutes (healthy) 0.0.0.0:40501->9200/tcp, :::40501->9200/tcp, 0.0.0.0:40502->9300/tcp, :::40502->9300/tcp agis-mongo-db Up 18 minutes (healthy) 0.0.0.0:40500->27017/tcp, :::40500->27017/tcp agis-postgis-db Up 18 minutes (healthy) 0.0.0.0:40503->5432/tcp, :::40503->5432/tcp
Основные контейнеры
agis-nginx – Проброс портов от внутренних систем (agis-model-facade 4301, agis-tile-server 4302, agis-pwa-scada 4303)
agis-model-facade Модуль интерфейса для входа в систему АГИС. Именно через нее пользователи заходят в систему
agis-tile-server Модуль АГИС карта
agis-pwa-scada Приложение для Android
agis-zander Модуль для приема данных от контроллеров. Должен быть в обязательном порядке доступен в интернет
Запуск, рестарт, останов отдельных контейнеров
$ docker start agis-model-facade
$ docker restart agis-model-facade
$ docker stop agis-model-facade