demyxsh / demyx

Demyx is a Docker image that automates and manages WordPress installations. Traefik for reverse proxy with Lets Encrypt SSL/TLS. WordPress sites are powered by OpenLiteSpeed/NGINX-PHP and MariaDB.
https://demyx.sh
MIT License
142 stars 23 forks source link

Fixed problem of cloning site with site subdir #18

Closed arrkiin closed 2 years ago

arrkiin commented 3 years ago

I encourntered problems while cloning a site with a cache plugin that uses the site-name as cache-directory. In this situation the find "$DEMYX_APP" -name "$DEMYX_TARGET gets two results and wont work as expected. It cannot determine the correct site name and the process stops in waiting for the database that wont get up.