version: '3.5' services: sri-server-bg01: # --- building --- image: sri-server-bg01:2024 build: context: ./ dockerfile: ./Dockerfile environment: TZ: Asia/Shanghai # --- binding --- volumes: - /home:/home network_mode: host # networks: # - sri_network # ports: # - "9101:9000" # --- running --- container_name: sri-server-bg01 # --- for debug --- # working_dir: /home/sri/repositories/repositories/SRI-DINO.Server-py/sri-server-bg01 # stdin_open: true # tty: true # --- for release --- working_dir: /home/sri/repositories/repositories/SRI-DINO.Server-py/sri-server-bg01 command: bash run.sh restart: always #networks: # sri_network: # external: true