Snibox selfhosted snippet, an sqlite version for my personal use
10K+
Snibox selfhosted snippet, an sqlite version for my personal use based on pivpav
To build this image use following command:
git clone https://github.com/MohamedElashri/Snibox
docker build -t snibox .
To use this image
docker pull melashri/snibox:latest
Or pass the variables directly (port and bind to a local volume)
docker run -d --name snibox \
--volume /home/snibox/app/db:/app/db/database \
--publish 4500:3000 \
--restart always \
melashri/snibox
Container runs rake db:migrate on every start, in order to create database file if not exist, or update database scheme if required, so backups are highly recommended.
DATABASE - Defines sqlite3 database file location within container.
Default: /app/db/database/snibox.sqlite3
SECRET_KEY_BASE - Defines secret_key_base parameter for your Rails application. Default one is included into the image already, but general recommendation is to change it.
LOGLEVEL - Defines logging level for Rails application. Available options are: debug, info, warn, error and fatal
Default: debug
Content type
Image
Digest
sha256:2511026f5…
Size
400 MB
Last updated
about 4 years ago
docker pull melashri/snibox