JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

Github Actions - Creating PostgreSQL service containers

发布时间 2023-12-03 12:56:27作者: ZhangZhihuiAAA

 

    # Service containers to run with `container-job`
    services:
      # Label used to access the service container
      postgres:
        # Docker Hub image
        image: postgres
        # Provide the password for postgres
        env:
          POSTGRES_PASSWORD: postgres
        # Set health checks to wait until postgres has started
        options: >-
          --health-cmd pg_isready
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5

 

 

Copied from: https://docs.github.com/en/actions/using-containerized-services/creating-postgresql-service-containers

    本栏目推荐文章
  • 用于PostgreSQL索引维护的有用查询
  • 【ubantu22.10】安装部署timescaledbv2.13.0及postgresql v14.10
  • Ubuntu 安装Postgresql与PostGIS
  • web项目启动时dubbo报错: No provider available for the service com.davidhu.shopguide.api.service.UserEventService from the url zookeeper ://localhost:2181/org.apache.du
  • Unity3d_Rewired官方文档翻译:要点(三):Rewired Editor->Players、Actions、InputBehaviours、Categories、CustomControllers
  • Unity3d_Rewired官方文档翻译:概念(一):InputManager、Players、Actions
  • Flutter 项目运行到ios模拟器报错 : Error (Xcode): SDK does not contain 'libarclite'
  • PostgreSQL从小白到高手教程 - 第41讲:postgres表空间备份与恢复
  • YAML示例:创建单幅本nginx容器到指定节点及其service
  • docker中修改postgreSQL的时区
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们