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