Introduction
1
Add Wordpress with one-click installation
Add a Wordpress service with the one-click installation feature in Coolify.
2
Persist Wordpress files on the host machine
Change the following lines in your to:This will mount the
docker-compose.yml file from the UI to persist the Wordpress files on the host machine:wordpress directory in the default configuration directory (/data/coolify/services/<serviceUuid>/) to the /var/www/html directory in the container.This way, you can edit the files on your host machine and see the changes reflected in the container.3
Configure Wordpress
Start the Wordpress service and configure it as you wish.
4
Disable all plugins
- Go to your Wordpress admin panel.
- Go to
Plugins->Installed Plugins. - Select all plugins and choose
Deactivatefrom the dropdown menu.
5
Enable Multisite
- Open your
wp-config.phpfile on the server and add the following lines:
Network Setup under the Tools menu.