Sign inSign up

zzdjk6/silverstripe-4-nginx

By zzdjk6

•Updated about 8 years ago

A docker image for SilverStripe 4, serve with Nginx and php-fpm 7.2 on Ubuntu 18.04

Image
2

10K+

zzdjk6/silverstripe-4-nginx repository overview

Github Repo: https://github.com/zzdjk6/silverstripe-4-nginx-docker⁠

Dockerfile: https://github.com/zzdjk6/silverstripe-4-nginx-docker/blob/master/dockerfile⁠

⁠How to run?

docker run \
-it \
-p <your port>:80 \
-v <your project path>:/var/www/project \
--name <your container name>  \
zzdjk6/silverstripe-4-nginx

"/var/www/project" is the path that your project should be placed inside the docker container.

⁠Example

docker run \
-it \
-p 80:80 \
-v "$PWD":/var/www/project:delegated \
--name silverstripe-nginx  \
zzdjk6/silverstripe-4-nginx

In this example, we use "$PWD" to mount current directory, and use delegated for better I/O performance under MacOS.

Tag summary

Content type

Image

Digest

Size

93.4 MB

Last updated

about 8 years ago

docker pull zzdjk6/silverstripe-4-nginx