Sign inSign up

brettt89/sspak

By brettt89

•Updated over 4 years ago

SilverStripe SSPAK container service

Image
1

850

brettt89/sspak repository overview

⁠SilverStripe SSPAK for Docker

This image is designed to be used with SilverStripe development environments. It allows SSPAK commands to be run using a container service.

⁠Maintainer Contact

⁠Requirements

⁠How to use

⁠With a docker-compose.yml
  sspak:
    image: brettt89/sspak
    links:
      - database:database
    volumes:
      - './snapshots:/app/snapshots:ro'
      - './_ss_environment.php:/app/_ss_environment.php:ro'
      - './public:/app/public:ro'

Then you can run

docker-compose run sspak <command>

# E.g.
docker-compose run sspak load snapshots/my-website.sspak public/

A link to the database is required so SSPAK can load / save details from the database.

⁠Volumes

In the example above, we have 3 mounted volumes.

The first is the directory containing the snapshots on your host. E.g. ./snapshots/ The second is a mount for the _ss_environment.php file for your website. The third is the directory containing your website codebase.

Tag summary

Content type

Image

Digest

Size

167.5 MB

Last updated

about 9 years ago

docker pull brettt89/sspak