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