hangfire 是一款基于.net 的任务调度系统

docker-compose 文件

version: '3'
services:
  hangfire:
    image: direktchark/hangfire
    ports:
        - 5000:5000
        - 5001:5001
    depends_on:
        - "store"
  store:
    image: microsoft/mssql-server-linux:2017-latest
    ports:
    - "1433:1433"
    environment:
        - ACCEPT_EULA=Y
        - SA_PASSWORD=Hangfire1

包含任务的运行

实际上就是重新构建任务

version: '3'
services:
  hangfire:
    image: direktchark/hangfire
    build:
      context: hangfire_app/
    ports:
      - 5000:5000
      - 5001:5001
    depends_on:
      - "store"
  store:
    image: microsoft/microsoft/mssql-server-linux:2017-latest
    ports:
    - "1433:1433"
    environment:
      - ACCEPT_EULA=Y
      - SA_PASSWORD=Hangfire1

参考界面

hangfire docker-compose 运行
hangfire docker-compose 运行

 
 
 
 

相关文章:

  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-18
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案