SHOTTY server installation manual

  1. 1Ghz CPU, 2Gb RAM, 500Mb disk space (real or virtual server)
  2. Docker (community edition) installed on a Linux machine (we recommend Ubuntu 16.04 or newer)
  3. Free account at hub.docker.com — you have to tell us your username in order to get access to Shotty repo.
  4. Also, to use SHOTTY you need a modern web-browser. We recommend latest versions of Chrome. Most features will work properly with any modern blink/webkit-compatible browser like Safari, Opera, etc.

Setup

Once you have Docker installed on your Linux machine type this:

# Sign in with Docker Hub credentials
docker login
# Download Shotty image
docker pull shotty/main:generic

Next step is to choose the storage path. SHOTTY database and everything you will upload into SHOTTY will be stored in there. So, be sure you have enough space for your needs.

# Run shotty image
docker run --name shotty -d \
--restart=always \
--privileged \
-v [/path/to/storage]:/media/shotty \
-p 8888:8888 -p 80:80 -p 443:443 \
-h shotty.local shotty/main:generic

Replace `/path/to/storage` with your path.
If you’re going to use SHOTTY outside of your local network, replace ‘shotty.local’ with your domain.

Right after you launch the SHOTTY container, you can view Monit dashboard. It shows you how SHOTTY is feeling itself.
To see it, visit `https://[shotty server hostname or ip address]:8888` the sign in with ‘shotty’ as username and password.

Cостояние сервисов SHOTTY

When everything will become green, type this to setup SHOTTY:

docker exec -it shotty /home/config/utils/setup

Now it’s done. SHOTTY is ready.
You can access it visiting `https://[shotty server hostname or ip address]`

Updating

# stop and remove container
docker stop shotty && docker rm shotty
# update shotty image
docker pull shotty/main:generic

# and run shotty again
docker run [with all arguments you've used before]

Backup

The only thing you need to back up is your `/path/to/storage`.