-
Install docker, docker-compose
-
Create file
challange.org.ru/core/config/creds.php
<?php
$database_server = 'domain';
$database_user = 'user';
$database_password = 'password';
$dbase = 'database_name';
$table_prefix = 'prefix_';
- Run
make install
- Run
make start
- Create
.env
file
FTP_USER=user
FTP_PASSWORD=password
- Run
make deploy
Backups automaticly created with github actions every hour.
How restore data from backup:
- Download backup file from Workflow Run page
- Decrypt file with the following command. You will be asked for passphrase
gpg --output mysql-backup.sql --decrypt mysql-backup.sql.gpg
- Import mysql-backup.sql in PhpMyAdmin