Deploy with Docker, Coolify and Nginx
On this page
The update server can run on Docker, Coolify or a standalone Nginx host. Configure it through /admin.
Docker and Coolify
- Add FluxWP/updater to Coolify or clone it.
- Select the Dockerfile build pack.
- Mount persistent storage at
/var/www/html/datafor settings, statistics and ZIP cache. - Configure the domain and SSL and complete setup at
https://<domain>/admin.
For local use, the repository includes docker-compose.yml:
docker compose up -dConfiguration
Use the panel to enter repository, token and server settings. Keep credentials out of the repository. If deploying through Coolify, store any deployment credentials as secrets.
Nginx
Apache includes .htaccess rules. On Nginx deny access to configuration, data, libraries and hidden files and forward application routes to index.php:
location ~ ^/(config\.php|config\.sample\.php|lib/|data/|bin/|\.) { deny all; }
location / { try_files $uri /index.php$is_args$args; }
location = /index.php {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
fastcgi_pass php;
}After setup, verify that /data/settings.json returns 403 and /admin shows the login screen.