# ? docker-compose.yml for development environment # ! To start development you need to create a directory ./dummy_platform. # ? Place files from the test platform into it: # ? VM6: # ? ./dummy_platform/opt/ispsystem/vm/config.json - configuration file # ? DCI6: # ? ./dummy_platform/opt/ispsystem/dci/config.json - configuration file # ? Create ./.env file and fill it with required vars: # ? PLATFORM_TYPE='vm' or PLATFORM_TYPE='dci' # ? Launch: # ? docker-compose up -d --force-recreate # ? docker attach mgrctl services: mgrctl: container_name: mgrctl restart: unless-stopped build: context: . args: - APP_VERSION=${APP_VERSION} - APP_DIR=${APP_DIR} - SRC_DIR=${SRC_DIR} - PKG_NAME=${PKG_NAME} - PKG_VERSION=${PKG_VERSION} networks: vm_box_net: null volumes: - type: bind source: ./dummy_platform/opt/ispsystem/${PLATFORM_TYPE}/config.json target: /opt/ispsystem/${PLATFORM_TYPE}/config.json env_file: - ./.env tty: true stdin_open: true networks: vm_box_net: name: vm_box_net driver: bridge