1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/docs/maintainers/Project_Servers_Configuration.md
2023-09-07 11:02:39 +03:00

1.8 KiB

This page dedicated to explain specific configurations of our servers for anyone who might need to improve it in future. Check project infrastructure page for services and accounts overview.

Droplet configuration

Droplet and hosted services

Currently we using two droplets:

To keep everything secure we should always keep binary downloads separate from any web services.

Rules to stick to

  • SSH authentication by public key only.
  • Incoming connections to all ports except SSH (22) must be blocked.
  • Exception for HTTP(S) connection on ports 80 / 443 from CloudFlare IP Ranges.
  • No one except core developers should ever know real server IPs.
  • Droplet hostname should never be valid host. Otherwise it's exposed in reverse DNS.
  • If some non-web service need to listen for external connections then read below.

Our publicly-facing server

We only expose floating IP that can be detached from droplet in case of emergency using DO control panel. This also allow us to easily move public services to dedicated droplet in future.

  • Address: beholder.vcmi.eu (67.207.75.182)
  • Port 22 serve SFTP for file uploads as well as CI artifacts uploads.

If new services added firewall rules can be adjusted in DO control panel.