E
E
Egor Aristov2020-04-18 20:40:05
linux
Egor Aristov, 2020-04-18 20:40:05

Is docker suitable for personal vps with self-hosted projects?

Hello! There is a personal VPS on Debian, on which a whole zoo of different software is running. No one uses it except for me and a couple of people, so there is no question of any distribution of loads; the goal is to save time when transferring between vps-hosters (hello ichor and masterhost), given that database backups are already done, the only question is to deploy the software:
- NextCloud - PHP7, FPM
- YOURLS (link shortener) - PHP7, FPM
- someone else's site on a very ancient version of Bitrix - PHP5, FPM, obsolete modules from third-party repositories
- several pet projects on Flask - Python3, UWSGI, Redis
- as well as on NodeJS
- MariaDB
- Nginx, spreading requests from subdomains to this entire zoo, + Certbot for SSL
- a few static pages served directly by Nginx
- a few cron jobs and systemd daemons

How good is docker for this? I can’t imagine how all of the above can be crammed into containers so that it doesn’t turn out to be a complete mess
. And if it doesn’t fit, then what to use? The option "just a bash script that configures everything" was left as a last resort

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Sviridov, 2020-04-19
@Egor3f

And what prevents you from taking Ansible and simply using it to deploy all this infrastructure anywhere?

V
Vladimir Kuts, 2020-04-18
@fox_12

How good is docker for this?

quite suitable
I can’t imagine how all of the above can be crammed into containers so that you don’t get a complete mess

and what is the problem?
- NextCloud - PHP7, FPM
a separate folder with docker-compose, which starts the containers of this project
- YOURLS (link shortener) - PHP7, FPM
a separate folder with docker-compose, which starts the containers of this project
, etc.
...
- Nginx, sending requests from subdomains to the whole zoo, + Certbot for SSL
well - nginx can be left outside to send requests to the appropriate containers

P
Puma Thailand, 2020-04-20
@opium

sure fit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question