我试图将Kobotool / KPI作为前端实现,将postgres数据库作为后端实现,但是我没有得到如何编写代码的
kpi:
image: kobotoolbox/kpi
links:
-kobotoolbox:
ports:
- 8080:80
kpi_db:
image:postgres:alpine
environment:
POSTGRES_PASSWORD:XYZ
postgres:
image:postgres:alpine
links
-kpi_db:
ports:
-5432
environment:
POSTGRES_USERNAME: root
POSTGRES_PASSWORD: XYZ