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!
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

34 lines
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