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