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!
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

focker-compose.yml 591B

123456789101112131415161718192021222324252627282930313233
  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