version: '3.5' services: sri-module-bg02: # --- building --- image: sri-module-bg02:2024 build: context: ./ dockerfile: ./Dockerfile environment: TZ: Asia/Shanghai # --- binding --- volumes: - /home:/home networks: - sri_network ports: - 9102:9000 # --- running --- container_name: sri-module-bg02 # --- for debug --- # working_dir: /home/server/repositories/repositories/gitee.com/casperz.py-project/project-responder-bg # stdin_open: true # tty: true # --- for release --- working_dir: /home/server/repositories/repositories/gitee.com/casperz.py-project/project-responder-bg command: bash run.sh restart: always networks: sri_network: external: true