Helix 🧬

<a rel="me" href="https://layer8.space/@helix">Mastodon</a>

  • 12 Posts
  • 228 Comments
Joined 3 years ago
cake
Cake day: August 21st, 2021

help-circle












  • Ideas what you can do. These are all SHOULD and not MUST requirements, so pick and choose what you can reasonably do in a realistic timeframe without overburdening yourself. Some of these steps can be outsourced to your community.

    You can try to make a twelve factor app but some of their advice is probably not suited for your application. You will end with some 7.5factor app which is fine.

    Follow SemVer and provide detailed instructions for upgrading major versions.

    Use a build system which is easily installable and a language where you don’t have to upgrade dependencies every second for security issues (looking at you, npm/nodejs).

    Don’t include a webserver which does HTTPS, let the people run their own reverse proxy.

    Test your setup with and provide multiple web server configs for nginx, Apache2, Caddy, Traefik.

    Test your setup with and provide multiple default configs for bare metal (with a dependency manager), Docker, Podman, Kubernetes, Kata Containers.

    If you need a DB, include the possibility to migrate from a self contained one instance SQLite to a multi container pgsql/MySQL setup.

    Write database migrations in both directions so people can downgrade on failures.

    Make it possible to configure your system via ENV variables, ENV files and config files. Provide instructions on best practices and sane defaults. Explain these defaults and make clear configuration is optional.

    Make it possible to disable authentication to add Authelia or LDAP through the webserver. Make clear that this is only to be used for external authentication.

    Make it possible to run multiple parallel instances of your software without affecting the database consistency, e.g. for high availability or horizontal scaling.

    Provide a versioned, documented API (does not need to be public) and use it yourself for your frontend. Provide a telemetry endpoint which is human readable and machine readable, so Prometheus or a similar system can scrape it.






  • Helix 🧬@feddit.detoTechnology@beehaw.orgFaster backup solution?
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    9 months ago

    Installing Docker on a QNAP device is straightforward, thanks to the integrated Container Station application. Here’s how you can do it:

    1. Install Container Station: Log in to your QNAP device’s web interface (QTS), and open the App Center. Search for “Container Station” and install it.

    2. Enable SSH: If you need SSH access, go to the Control Panel > Telnet / SSH, and enable the “Allow SSH connection” option. Click “Apply” to save the changes.

    3. Create a Docker Container: Once Container Station is installed, you can create Docker containers using the Container Station user interface. Go to ‘Containers’, click ‘Create’, and select an image from the available registries.

    4. Configure Network Settings: Container Station supports multiple network modes and VLAN for flexible deployment. You can manage these settings according to your need.

    5. Manage Containers: After creating your Docker containers, you can manage them through the Container Station interface, where you can start, stop, and configure your containers as needed.

    For detailed instructions and the latest updates, refer to the official QNAP Container Station guide. It provides comprehensive information on using Container Station, including creating, managing, and deploying Docker containers.