This commit is contained in:
Shish 2020-03-22 15:52:03 +00:00
parent 76b346b45d
commit bfcefb97e7
1 changed files with 7 additions and 5 deletions

View File

@ -6,13 +6,15 @@ in dockerhub - `shish2k/shimmie2` - which can be used like:
docker run -p 8000 -v /my/hard/drive:/app/data shish2k/shimmie2
```
If you want to build your own image from source:
```
docker build -t shimmie .
```
There are various options settable with environment variables:
- `UID` / `GID` - which user ID to run as (default 1000/1000)
- `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"`
## Build custom image
If you want to build your own image from source:
```
docker build -t shimmie2 .
```