-
-
Notifications
You must be signed in to change notification settings - Fork 114
Docker
Shish edited this page Jun 27, 2023
·
13 revisions
If you just want to run shimmie inside docker, there's a pre-built image
in dockerhub - shish2k/shimmie2
- which can be used like:
docker run -p 8000:8000 -v /my/hard/drive:/app/data shish2k/shimmie2
There are various options settable with environment variables:
-
UID=1000
/GID=1000
- which user ID to run as -
INSTALL_DSN
- specify a data source to install into, to skip the installer screen, eg-e INSTALL_DSN="pgsql:user=shimmie;password=6y5erdfg;host=127.0.0.1;dbname=shimmie"
-
UPLOAD_MAX_FILESIZE=50M
- set the web-server level upload size limits (Shimmie's own filesize limits can't go any higher than whatever this is set to)
If you want to build your own image from source:
docker build -t shimmie2 .
And then:
docker run -p 8000:8000 -v /my/hard/drive:/app/data shimmie2 -d