isp-maintenance/docker-compose.yml
MOIS3Y 6bbebd5a7a feat!(mgrctl) new release 0.1.1
Updated:
      - dependencies
      - docker hub latest image

    Fixed:
      - dci input container name

    Changed:
      - remove peewee deps
      - remove data base management
      - remove mysql container for dev env
      - remove \__version__ from sub app
2025-05-07 16:17:20 +09:00

44 lines
1.1 KiB
YAML

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