A tool that is already packaged (a CMS, a monitoring tool, a web server) deploys without a Git repository: Webgune runs the image as published. There is no build and no detection. The creation steps are in Deploying a Docker image.
This source is included from the XS plan. On lower plans, the Deploy a Docker image option carries the note "Not included in your current plan" (Plans and pricing).
Image reference
The Docker image field accepts any public reference:
| Example | Registry |
|---|---|
nginx:1.27-alpine | Docker Hub, official image |
louislam/uptime-kuma:1 | Docker Hub, a publisher's image |
ghcr.io/requarks/wiki:2 | GitHub Container Registry |
quay.io/organisation/image:1.0 | Other public registry |
The limits:
- the image must be public: registries that require credentials are not supported;
- addresses of Webgune's internal registry are refused with the message "This image must come from a public registry". To reuse an image built by another service, redeploy that service.
Choose a specific tag
Webgune does not download again an image already present on the server. With a moving tag like latest, two instances can therefore run on different versions, and Redeploy does not guarantee getting the latest version. Give a version (postgres:16.4, n8n:1.70.1) rather than latest.
The port
The service's Listening port must be the one the image listens on, given in its documentation. It is 3000 by default at creation. Webgune also provides the PORT variable, but most public images ignore it.
| Image | Use | Port |
|---|---|---|
nginx:1.27-alpine | Web server | 80 |
caddy:2-alpine | Web server | 80 |
adminer:4 | Database administration | 8080 |
louislam/uptime-kuma:1 | Uptime monitoring | 3001 |
n8nio/n8n | Automation | 5678 |
gitea/gitea:1 | Git forge | 3000 |
wordpress:6-apache | CMS | 80 |
ghost:5-alpine | Blog | 2368 |
grafana/grafana | Dashboards | 3000 |
If the port is wrong, the service never becomes ready. The service's Ports panel shows the ports the image actually listens on: fix the Container port in the settings. The change restarts the service.
Webgune handles HTTPS. Configure the image for plain HTTP: a Caddy or a Traefik in the image does not need to request a certificate.
Configuration through variables
Almost all public images are configured through environment variables, entered in the Variables panel:
# wordpress:6-apache
WORDPRESS_DB_HOST=adresse-interne-de-la-base:3306
WORDPRESS_DB_NAME=wordpress
WORDPRESS_DB_USER=wordpress
WORDPRESS_DB_PASSWORD=mot-de-passe
A project database's internal address is in its Database panel (Databases). Changing a variable restarts the service.
Data
A container's disk is wiped on every restart and every update. An image that stores data must have a persistent volume mounted on the right folder:
| Image | Folder to mount |
|---|---|
wordpress | /var/www/html/wp-content |
louislam/uptime-kuma | /app/data |
n8nio/n8n | /home/node/.n8n |
gitea/gitea | /data |
ghost | /var/lib/ghost/content |
grafana/grafana | /var/lib/grafana |
The volume folder belongs to group 1000. An image that runs as another user may need a start command that fixes the permissions (Persistent volumes).
For relational data, prefer a database managed by Webgune over one built into the image.
Start command
The image starts with its own CMD. To pass other arguments, fill in the start command in the service settings. The Reset (image CMD) button goes back to the image's command (Custom start command).
Templates
Several of these tools exist as a template, already connected to their database, with a volume and the right variables (Template catalog). It is the fastest way to start.
Common errors
| Symptom | Cause | What to do |
|---|---|---|
| The service stays in startup then fails | Listening port different from the image's | Fix the Container port |
ImagePullBackOff or image not found | Wrong name or tag, or private image | Check the reference on the registry |
| Data lost after a restart | No volume | Mount a volume on the data folder |
permission denied on the volume folder | Image user different from uid 1000 | See Persistent volumes |
| Stop with code 137 | Service memory exceeded | See Limits and resources |
Updated on