IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

34 行
591B

  1. #
  2. # focker compose wordpress.yml
  3. # focker compose wordpress.yml backup
  4. # focker compose wordpress.yml restore
  5. #
  6. images:
  7. wordpress-5: .
  8. jails:
  9. wordpress:
  10. image: wordpress-5
  11. mounts:
  12. test-volume2: /mnt/volume2
  13. test-volume2: /mnt/volume1
  14. ip4.addr: 127.0.1.1
  15. volumes:
  16. test-volume2: {}
  17. test-volume2: {}
  18. commands:
  19. backup:
  20. jail: wordpress
  21. command: |
  22. mysqldump >/mnt/volume2/backup.sql
  23. mounts:
  24. test-volume2: /mnt/volume2
  25. restore:
  26. jail: wordpress
  27. command: |
  28. mysql </mnt/volume2/backup.sql