Please visit the main repository for information about the Convertigo Platform
or the official Docker documentation for documentation of the Convertigo Docker image.
You can retrieve it in your current directory with:
curl -sL https://github.com/convertigo/docker/archive/refs/heads/compose.tar.gz | tar xvz --strip-components=1
Edit the .env
file then start with docker compose up -d
and end with docker compose down
.
All container files are in the data
folder.
You can also download repository files in zip.
Please edit the .env
file to enable/disable services and do configurations.
It's recommended to change default password.
This configuration works also with a podman compose
stack, even rootless. Here some complementary setup steps before the first run:
# next to the docker-compose.yml, allow container to mount those directories
chcon -Rt container_file_t data init
chmod -R o+w data
# to enable 80 & 443 for a rootless user (default port of httpd, can be changed in the .env file)
echo "net.ipv4.ip_unprivileged_port_start=80" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
By default, only the http
on port 28080
is exposed to access Convertigo.
If HTTPD_ENABLE=1
, you can access with http
on port 80
. This is needed for CONVERTIGO_MULTI_ENABLE=1
or BASEROW_ENABLE=1
.
To enable https
for convertigo
(on port 28443
) and httpd
(on port 443
) services, you have to put 2 files: init/certs/key.pem
(the private key) and init/certs/full.pem
(the full certificates chain).
Check that PUBLIC_HOSTNAME
is the same as the certificate and solved by your DNS.
If you want to test with a self-signed certificate (set CN
the same value as PUBLIC_HOSTNAME
):
openssl req -x509 -newkey rsa:4096 -keyout init/certs/key.pem -out init/certs/full.pem -sha256 -days 3650 -nodes -subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=CommonNameOrHostname"
Then docker compose restart convertigo_0 httpd
.
You can also force http
access to redirect to the https
access with HTTPD_HTTPS_REDIRECT=1
.
To have a working No Code Database you have to configure the PUBLIC_HOSTNAME
configured but also TIMESCALEDB_ENABLE=1
, HTTPD_ENABLE=1
and BASEROW_ENABLE=1
. Then access with http://<hostname>/login
.
If your endpoint is https
you also have to change the BASEROW_PUBLIC_URL
with the https
version.