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