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.

focker-compose.yml 560B

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