Преминавате от Airtable? Получете безплатна помощ за преминаването от нашия екип. Започнете →

Инсталирайте Artavolo на собствен сървър

Обновено

Artavolo can run on your own server instead of in our cloud, so your data never leaves your building or your chosen host. This is a job for whoever looks after your servers. There are two ways: Docker, which brings everything in one package, or PHP and MySQL on ordinary web hosting. Without a licence key it runs as the free Community edition, with no limit on people, records or bases, and it never contacts us.

The self-hosting page Run Artavolo on your own server, with two cards: Docker, recommended, in four steps ending with docker compose up -d and a Get the image button, and PHP and MySQL in four steps with a Request the archive button

Both ways start on the self-hosting page (also in the site's Ресурси menu as На собствен сървър).

Инсталиране с Docker

Трябва ви Docker 24 или по-нов, на Linux, macOS или Windows.

  1. On the self-hosting page, click Вземете образа. The image is artavolo/artavolo-enterprise on Docker Hub.
  2. Make a folder with a docker-compose.yml, using the compose file from the installation guide.
  3. Beside it, make a .env file with a database password and your first administrator's e-mail address and password.
  4. Изпълнете docker compose up -d.
  5. Open the address (on your own computer, http://localhost) and sign in with the administrator's e-mail address and password.

The stack runs the application, the database, the cache and HTTPS. With a domain name set in .env, the security certificate is obtained and renewed for you.

Инсталиране с PHP и MySQL

You need PHP 8.1 or newer with the imagick, curl, fileinfo, gd, mbstring, iconv, intl и zip extensions, MySQL or MariaDB, and Apache with mod_rewrite и AllowOverride All. If your host can run WordPress, it can usually run this.

  1. On the self-hosting page, click Поискайте архива. Check the download against its .sha256 file.
  2. Разархивирайте го в папката, към която сочи вашият домейн.
  3. Open your domain in a browser. The installer checks the server, asks for your database login, your e-mail address and a password, creates the two databases (artavolo и artavolo_data), writes the settings file and makes your account. On cPanel, create the two databases first; the installer tells you what to call them.
  4. Изтрийте папката install.
  5. Add a cron job that runs every 5 minutes as the web server user: */5 * * * * cd /path/to/artavolo/site && php cron.php. It runs scheduled automations, reminders, audit log clean-up and scheduled backups.

След като работи

  1. Set up outgoing e-mail. Without it, invitations and password resets are not delivered (a Docker container has no mail service of its own). Click the round button at the top right, choose Контролен панел, then Настройки, General. Under E-mail settings, switch on Use SMTP, choose Who sends your mail and fill in the details your mail provider gave you. Each setting is saved as soon as you change it. Then click Send a test message; it goes to the address you signed in with.

E-mail settings in the Control panel: the Use SMTP switch, SMTP Debug, Who sends your mail set to Any SMTP server, Encryption set to STARTTLS (port 587), SMTP Host, SMTP Username, SMTP Password, SMTP Port 587, and the Send a test message button

  1. Set a backup key. Set BACKUP_ENCRYPTION_KEY в includes/config.php (in Docker, ARTAVOLO_BACKUP_ENCRYPTION_KEY) to 32 or more random characters, and keep a copy somewhere else. See Планирайте шифровани резервни копия.
  2. Paste your licence key, if you bought one. See Приложете лицензен ключ.

Upgrade to a new version

With Docker, set the new image version, then run docker compose pull и docker compose up -d. Database changes run when the container starts.

With PHP, run php utilities/upgrade.php with the new archive. It checks the archive, keeps a copy of the current code, keeps your settings, uploads and data, and runs the database changes.

Добре е да знаете

  • The paid plans cost the same on your server as in our cloud, per editor (people who only look are free), with a licence key for the number of editors you need. The free Community edition is enough for many teams. See Планове, цени и начин на плащане.
  • Live updates, where other people's changes appear without reloading the page, need the separate websocket server. The installation guide says how to start it.
  • The folders data, includes и libs must not be reachable from the web. They come with rules that block it; if your Apache ignores .htaccess files, copy those rules into the site's configuration.
  • There is also npx artavolo for developers: it writes a compose file and starts the Docker stack for you.

Свързани