This image is designed to be used with SilverStripe development environments. It allows SSPAK commands to be run using a container service.
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.
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.
Content type
Image
Digest
Size
167.5 MB
Last updated
about 9 years ago
docker pull brettt89/sspak