Advertisement
fatherlinux

Wordpress

Apr 29th, 2020
726
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. [Service]
  2. Type=simple
  3. ExecStart=/usr/bin/podman run -i --read-only --rm -p 80:80 --name wordpress.crunchtools.com \
  4. -v /srv/wordpress.crunchtools.com/code/wordpress:/var/www/html/wordpress.crunchtools.com:Z \
  5. -v /srv/wordpress.crunchtools.com/config/wp-config.php:/var/www/html/wordpress.crunchtools.com/wp-config.php:ro \
  6. -v /srv/wordpress.crunchtools.com/config/wordpress.crunchtools.com.conf:/etc/httpd/conf.d/wordpress.crunchtools.com.conf:ro \
  7. -v /srv/wordpress.crunchtools.com/data/wp-content:/var/www/html/wordpress.crunchtools.com/wp-content:Z \
  8. -v /srv/wordpress.crunchtools.com/data/logs/httpd:/var/log/httpd:Z \
  9. -v /srv/wordpress.crunchtools.com/data/mariadb/:/var/lib/mysql:Z \
  10. --tmpfs /etc \
  11. --tmpfs /var/log/ \
  12. --tmpfs /var/tmp \
  13. localhost/httpd-php
  14. ExecStop=/usr/bin/podman stop -t 3 wordpress.crunchtools.com
  15. ExecStopAfter=/usr/bin/podman rm -f wordpress.crunchtools.com
  16. Restart=always
  17.  
  18. [Install]
  19. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement