osm-by / OpenStreetMap.by

bugtracker for http://openstreetmap.by
http://openstreetmap.by
11 stars 6 forks source link

Add service run and data update to systemd services #30

Open tbicr opened 3 years ago

tbicr commented 3 years ago

Description

Now service updated manually and service started serving with docker-compose up -d nginx command.

Better practice there will be run in as systemd units.

Steps

abitrolly commented 3 years ago

Any simple alternatives like OpenRC or https://en.wikipedia.org/wiki/Daemontools ?

tbicr commented 3 years ago

Any simple alternatives like OpenRC or https://en.wikipedia.org/wiki/Daemontools ?

What benefits using one or other?

abitrolly commented 3 years ago

I don't know. That's why I asking if you're considered alternatives. Presumably they are portable and more simple that systemd. At least there is a lot of rants about the latter.

Komzpa commented 3 years ago

systemd/docker is industry standard and the rants are mainly from people whose jobs are obsoleted by systemd/docker.

abitrolly commented 3 years ago

The industry standard is Kubernetes, which is moving away from Docker containers, but that might be a maintenance overkill for a single server.

tbicr commented 3 years ago

k8s is good option but also looks as overkill for now