ShipShape← Back to ShipShape

Documentation

How to install, use and set up ShipShape.

  1. Installing
  2. Dashboard
  3. Updating a project
  4. Automatic updates
  5. Backups and restore
  6. Images page
  7. Logs
  8. Settings
  9. Synology DSM
  10. Email notifications
  11. Homepage widget
  12. Troubleshooting

1. Installing

ShipShape runs as one container next to your other projects. It needs:

services:
  shipshape:
    build: .
    container_name: shipshape
    restart: unless-stopped
    ports:
      - 8095:8095
    environment:
      - TZ=Europe/London
      - SHIPSHAPE_ADMIN_USER=admin
      - SHIPSHAPE_ADMIN_PASSWORD=a-long-password
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /volume1/docker:/volume1/docker
      - ./data:/data

Open http://<your-server>:8095 and log in. Always set a login if ShipShape can be reached from the internet. Everything else is set on the Settings page.

2. Dashboard

3. Updating a project

Click Update on a project. ShipShape shows what will change and asks you to choose the backup:

Then it runs these steps, shown as a progress bar (click it for every step):

  1. Check the new images are available
  2. Stop the project (through DSM when set up)
  3. Back up (replaces the project's previous backup)
  4. Stop and clean (containers and network; data kept)
  5. Delete the old images
  6. Download the new images
  7. Change the compose file, only for fixed versions and only after you confirm
  8. Rebuild and start
  9. Check everything is running
  10. Tidy up and count

Projects that share the image are updated together. If a step fails, ShipShape stops and offers Restore.

4. Automatic updates

Click Auto on a project to let ShipShape update it after a check finds an update, with the backup you choose.

5. Backups and restore

6. Images page

All downloaded images, with the containers that use them. Images marked Not used are safe to delete. Hide the ones you want to keep the same way as on the Dashboard.

7. Logs

Every check, login, update, backup, restore and error. Filter and search; Copy or Export gives plain text to share when asking for help; Clear empties it. How long entries are kept is set in Settings.

8. Settings

Settings are saved in data/settings.json, readable only by its owner. Passwords are never shown again in the browser.

9. Synology DSM

On a Synology, ShipShape can stop containers through DSM, the same way Container Manager's Stop button does, so DSM doesn't send "Container … stopped unexpectedly". Use a separate DSM account in the administrators group:

10. Email notifications

Enter where to send emails and your mail server. Gmail: smtp.gmail.com, port 587, STARTTLS, your address and an app password. Outlook: smtp-mail.outlook.com, 587, STARTTLS. Choose what to be emailed about:

Each update is emailed about once. Use Save and send a test email to check.

11. Homepage widget

Set an API key in Settings (or press Generate), then add to Homepage's services.yaml:

- ShipShape:
    icon: http://<your-server>:8095/favicon.svg
    href: http://<your-server>:8095
    widget:
      type: customapi
      url: http://<your-server>:8095/api/summary
      headers:
        X-API-Key: <your key>
      mappings:
        - field: updates
          label: Updates
        - field: up_to_date
          label: Up to date

12. Troubleshooting