https://github.com/cyber-duck/php-fpm-silverstripe
Docker image for a php-fpm container crafted to run SilverStripe based applications.
https://github.com/cyber-duck/php-fpm-silverstripe
docker docker-image silverstripe
Last synced: about 1 month ago
JSON representation
Docker image for a php-fpm container crafted to run SilverStripe based applications.
- Host: GitHub
- URL: https://github.com/cyber-duck/php-fpm-silverstripe
- Owner: Cyber-Duck
- License: mit
- Created: 2017-11-21T11:39:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-14T13:47:24.000Z (about 5 years ago)
- Last Synced: 2025-01-04T21:27:24.721Z (over 1 year ago)
- Topics: docker, docker-image, silverstripe
- Size: 33.2 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP-FPM Docker image for SilverStripe 3.6+
Docker image for a php-fpm container crafted to run SilverStripe 3.6+ based applications.
**Note:** For SilverStripe 3.5 and lower you can use the image available on the `5.6` branch.
## Specifications:
* PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4
* OpenSSL PHP Extension
* Mbstring PHP Extension
* Tokenizer PHP Extension
* Dom PHP Extension
* Fileinfo PHP Extension
* Hash PHP Extension
* Iconv PHP Extension
* Intl PHP Extension
* Zip PHP Extension
* PDO PHP Extension
* MySQL and PgSQL Support via MySQLi and PgSQL PHP Extensions
* SimpleXML and XML PHP Extension
* GD2 PHP Extension
* OP Cache PHP Extension
* Composer
* PHP ini values for SilverStripe (see [`silverstripe.ini`](/silverstripe.ini))
* xDebug (PHPStorm friendly, see [`xdebug.ini`](/xdebug.ini))
* `ss` alias created to run SilverStripe CLI `php public/framework/cli-script.php` with `docker-compose exec [service_name] ss` so you can run `docker-compose exec [service_name] ss dev/build` for example.
## Tags available:
When calling the image you want to use within your `docker-compose.yml` file,
you can specify a tag for the image. Tags are used for various versions of a
given Docker image. By default, `latest` is the one used when no tag is specified.
* `7.x` for SilverStripe `3.6+` using PHP 7.x.
* `5.6` for SilverStripe `3.5` and lower using PHP 5.6.
Note: the master branch is not used for generating images, used for documentation instead. Only tags/branches are.
## docker-compose usage:
```yml
version: '2'
services:
php-fpm:
image: cyberduck/php-fpm-silverstripe(:)
volumes:
- ./:/var/www/
- ~/.ssh:/root/.ssh # can be useful for composer if you use private CVS
networks:
- my_net #if you're using networks between containers
```