加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 915 Bytes
一键复制 编辑 原始数据 按行查看 历史
Nelson 提交于 2023-02-27 20:01 . initial commit for openGauss-batman
version: "3.1"
services:
database:
build:
context: ./backend/
dockerfile: Dockerfile_pg
restart: always
environment:
POSTGRES_USER: opengauss
POSTGRES_PASSWORD: openGauss#2023
POSTGRES_DB: batman
POSTGRES_INITDB_ARGS: "-E utf8 --locale=en_US.utf8"
ports:
- "5432:5432"
batman:
healthcheck:
test: curl http://localhost:8080
interval: 10s
retries: 10
timeout: 2s
build:
context: ./backend/
dockerfile: Dockerfile
ports:
- "8080:8080"
command:
- sleep
- infinity
depends_on:
- database
dashboard:
healthcheck:
test: curl http://localhost:8081
interval: 10s
retries: 10
timeout: 2s
restart: on-failure
depends_on:
- database
- batman
build:
context: ./web/
dockerfile: Dockerfile
ports:
- "8081:8081"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化