server setup compatible with bitrix and other strange frameworks requiring long execution time and big request size limits. It automatically configures ssl certs.
name df99a27c64 fix for wrap script | 1 year ago | |
---|---|---|
archives | 1 year ago | |
backups | 1 year ago | |
configs | 1 year ago | |
deploy-addons | 1 year ago | |
docker | 1 year ago | |
scripts | 1 year ago | |
ssh | 1 year ago | |
volumes | 1 year ago | |
.env | 1 year ago | |
.gitignore | 1 year ago | |
docker-compose.yml | 1 year ago | |
down.sh | 1 year ago | |
flake.lock | 1 year ago | |
flake.nix | 1 year ago | |
readme.md | 1 year ago | |
run.sh | 1 year ago |
This is server setup compatible with bitrix and other strange frameworks
requiring long execution time and big request size limits.
It automatically configures ssl certs.
It also features 2 backup mechanisms: one is just regular
tar backups (they go inside archives
directory), it runs weekly and
only keeps last 5 backup files; other
is using cheap deduplication and runs casync
tool. Casync
backups are inside backups
directory. They run daily.
Server can be ran as docker-compose (see run.sh
) or
you can build vm using ./scripts/build-qemu.sh
,
start it with ./scripts/startqemu.sh
.
Defaults are ok, but if you want, you can change domains, mysql user and password as well as server timezone by editing .env file. That data is used by both docker and generated virtual images.
obviously if you need to run docker-compose you need docker-compose for building vm images you need: nix package manager for building the vm openssh (ssh-keygen command) to generate keys openssh (ssh command) to access vm rclone to mount vm using sftp.