Shlink

  • Container Manager

  • Create new image from shlinkio/shlink:stable

  • Create new container shlink

    • Enable auto-restart

    • Ports Settings:

      • Set a local port for 8080, e.g. 8080 (yes, type it again)

    • Environment:

      • DEFAULT_DOMAIN=your.domain

      • IS_HTTPS_ENABLED=false

      • GEOLITE_LICENSE_KEY=yourkey

      • If you need to use your NAS DBMS (e.g. MariaDB), remember to allow access from bridge subnet (i.e. 192.168.1.0) and add the following:

        • DB_DRIVER=mariadb

        • DB_USER=shlink_usr

        • DB_PASSWORD='yourpassword'

        • DB_HOST=192.168.1.1

        • DB_PORT=3307

  • Control Panel -> Login Portal -> Advanced -> Reverse Proxy

  • Create a new proxy for Nextcloud, e.g. https://your.domain -> http://192.168.1.1:8080

  • For accessing UI app.shlink.io, execute on shell sudo docker exec -it shlink shlink api-key:generate to get an API key

The instructions above correspond to run the following commands:

Assumptions

  • You have installed Container Manager

  • You know how to access to the DSM shell

Last updated