RustRover cargo-generate template: Axum + Vue 3 + TypeScript + Tailwind + sqlx
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

20 行
396 B

  1. services:
  2. postgres:
  3. image: postgres:17-alpine
  4. environment:
  5. POSTGRES_USER: app
  6. POSTGRES_PASSWORD: app
  7. POSTGRES_DB: app
  8. ports:
  9. - "5432:5432"
  10. volumes:
  11. - rust_template_pg:/var/lib/postgresql/data
  12. healthcheck:
  13. test: ["CMD-SHELL", "pg_isready -U app -d app"]
  14. interval: 5s
  15. timeout: 5s
  16. retries: 10
  17. volumes:
  18. rust_template_pg: