- choose any ubuntu/debian distro
- install docker and nginx
apt-get install docker nginx - docker user id matching
systemctl enable docker
adduser ryogasp
usermod -aG docker ryogasp
cat /etc/docker/daemon.json
{
"userns-remap": "ryogasp"
}check in scripts/
docker exec -it ryogasp-spip-1 bash
cd tmp/dump
spip sql:dump:restore --name 2025-04-28you can check if everything went fine into mariadb
docker exec -it ryogasp-mariadb-1 bash
if this does not work, create a temporary superadmin
spip auteurs:superadmin if lang is fucked up, set spip_lang=fr into cookies
install these required plugins:
cd scripts && bash plugins.shcheck file doc/nginx_proxy.txt
this will be for next upgrade http://geekyplatypus.com/dockerise-your-php-application-with-nginx-and-php7-fpm/
use certbot to en able https via letsencrypt
apt-get install certbot python-certbot-nginx
certbot --nginxget rid of default .htaccess and get the custom one
(from inside the container docker exec -it ryogasp-spip-1 bash)
curl -0 https://raw.githubusercontent.com/gasp/ryogasp/refs/heads/master/src/ryogasp.htaccess > .htaccess(todo) put these dir outside the spip root path redefine _DIR_TMP & _DIR_CONNECT constants in mes_options.php
check in scripts/
#!/usr/bin/env bash
date=$(date '+%Y-%m-%d')
docker exec -it ryogasp-spip-1 spip sql:dump:create --name $dateautomated export in crontab with crontab -e
# twice a month, create a dump
0 0 1,15 * * cd /home/ryogasp/ryogasp/scripts && bash dump.sh >/dev/null 2>&1