Go to file
2023-10-25 18:11:26 +03:00
.github/workflows update workflow 2023-10-25 18:11:26 +03:00
entity journey starts here 2023-10-25 18:08:11 +03:00
migration journey starts here 2023-10-25 18:08:11 +03:00
nginx-templates journey starts here 2023-10-25 18:08:11 +03:00
src journey starts here 2023-10-25 18:08:11 +03:00
.dockerignore journey starts here 2023-10-25 18:08:11 +03:00
.gitignore journey starts here 2023-10-25 18:08:11 +03:00
Cargo.lock journey starts here 2023-10-25 18:08:11 +03:00
Cargo.toml journey starts here 2023-10-25 18:08:11 +03:00
docker-compose.yml journey starts here 2023-10-25 18:08:11 +03:00
Dockerfile journey starts here 2023-10-25 18:08:11 +03:00
logo.svg journey starts here 2023-10-25 18:08:11 +03:00
openapi.yml journey starts here 2023-10-25 18:08:11 +03:00
readme.md journey starts here 2023-10-25 18:08:11 +03:00

Sero Server

Sero is a web server that allows you to easily host your static sites without pain
The idea was inspired by surge.sh but gives you full control.


Postgres Rust Docker Nginx

License

Upload

Use this tool for uploading your site to sero server in one command

Features

  • Deploy the site with a custom subdomain in seconds!
  • Download the site that you already host!
  • Teardown sites that you do not like anymore
  • Control amount of users and sites
  • Custom 404.html
  • Custom 503.html
  • Enable and disable site for maintenance

Installation and deployment

Requirements

  • You need to have access to the DNS configuration of the server

Step 0:

git clone https://github.com/clowzed/sero

Step 1: Configure DNS records

  • Add wildcard (*) subdomain to your server

Step 2: Configure docker-compose.yml

  1. Configure your domain and zone (for example for example.com)

    environment variable description
    DOMAIN example
    ZONE com
  2. Configure limits

    environment variable description already setted
    MAX_USERS Maximum amount of users to be registered 1
    MAX_SITES_PER_USER Maximum amount of sites which each user can upload 100
    MAX_BODY_LIMIT_BYTES Maximum body limit in bytes 10000000 (10mb)

Step 2: Deploy


docker-compose up -d

TODO:

  • UI
  • CORS

Author

License

  • MIT