-
-
Notifications
You must be signed in to change notification settings - Fork 35
Docker
zekro edited this page Jun 22, 2019
·
5 revisions
You can use the provided pre-built Docker images provided by Docker Hub.
Download the image you want using the following command:
# docker pull zekro/shinpuru:latest
When starting the image, you need to mount the configuration directory (/etc/config
) and the database directory if using sqlite as database driver (/etc/db
) of the container to your host system:
# docker run \
-v "$PWD/data/config:/etc/config" \
-v "$PWD/data/db:/etc/db" \
zekro/shinpuru:latest
Or using docker-compose:
version: '3'
services:
# ...
shinpuru:
volumes:
- './data/config:/etc/config'
- './data/db:/etc/db'
restart: always