HUB
Sign inSign up

icsoft/iclinks

By icsoft

•Updated about 6 years ago

Multi-user Link Portal

Image
0

1.0K

icsoft/iclinks repository overview

⁠Summary

IC Links is a web portal that stores grouped URL links, basicly web based bookmarks.

Each link page is uniquely identified and can have multiple groups and circular references, allowing multiple users to create their own portal of bookmarks.

A demonstration version can be tried out at http://beta.icsoft.com.au⁠

⁠Docker Container

⁠Docker network

It is best to keep the two containers in their own Docker network.

docker network create db
⁠Starting the Mariadb container

You will need a Mariadb container running to store the links. The environment variables set are just the defaults for the application, change them as you see fit, but make sure they are reflected in the environment variables sent to the iclinks container.

docker run --name mydbname -p 3306:3306 --network=db \
-e 'MYSQL_RANDOM_ROOT_PASSWORD=yes' \
-e 'MYSQL_DATABASE=IC_links' \
-e 'MYSQL_USER=ic_user' \
-e 'MYSQL_PASSWORD=icsoft123' \
-d mariadb

For more information about storing your MariaDB data externally to your container or backing it up, see the MariaDB docker page (https://hub.docker.com/_/mariadb⁠)

If you use the defaults, you can just use whats below.

docker run --name iclinks --network=db -p 9091:9091 -d icsoft/iclinks

Open your browser to http://localhost:9091/⁠ and test for a responce.

⁠Environment Variables

The Application defaults are:

IC_DATABASE_SERVER=localhost
IC_DATABASE_PORT=3306
IC_DATABASE_USER=ic_user
IC_LOGGING_SYSLOG_PORT=514
IC_LOGGING_FILE=iclinks.log
IC_LOGGING_SYSLOG_SERVER=localhost
IC_SERVER_PORT=9091
IC_DATABASE_ROOT_PASS=icsoft123
IC_DATABASE_NAME=IC_links
IC_DATABASE_PASS=icsoft123
IC_DATABASE_ADD_PARAMS=
IC_LOGGING_LEVEL=error

To change any of these, send the new value as an environment variable:

-e 'IC_VARIABLE_NAME=value' 

or edit the /app/config.yml after the container starts and restart it.

⁠Accessing the container

The container can be accessed as per usual if needed:

docker exec -it iclinks /bin/bash

All logs can be found at /var/logs/iclinks/

Tag summary

Content type

Image

Digest

Size

84.6 MB

Last updated

about 6 years ago

docker pull icsoft/iclinks