Skip to content

Commit

Permalink
updated docker php version
Browse files Browse the repository at this point in the history
  • Loading branch information
go-faustino committed Dec 21, 2017
1 parent 70f1ca7 commit 2005df0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.1.2-apache
FROM php:7.1.12-apache
COPY /php/php.ini /usr/local/etc/php/
COPY /. /var/www/html/
RUN apt-get update && apt-get install -y \
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ Docker

This fork includes a Dockerfile, to run Sentrifugo in a container. Visit my Docker Hub repository at https://hub.docker.com/r/gofaustino/sentrifugo

This Docker image needs an instance of MySQL or MariaDB available (may be running in another container, as long as they're linked).
This Docker image needs an instance of MySQL or MariaDB available.
The Apache server is available on port 80 inside the container.
The Sentrifugo application folder is located at var/www/html. You need to copy its contents to a local folder, and create a volume linking both the container and local folders, otherwise your installation setup will be ephemeral.
The Sentrifugo application folder is located at var/www/html.

To get your container running, use the following run command as a guideline:
To get your container running, use the following run command as a guideline. If you don't need persistence for your settings / uploads / logs leave out the -v parameters:

docker run -d --name sentrifugo -p 80:80 -v /local_path_where_you_copied_sentrifugo_into:/var/www/html --link mariadb:mysql gofaustino/sentrifugo
docker run -d --name sentrifugo -p 80:80 -v /local_path_for_persistent_data:/var/www/html/public -v /local_path_for_logs:/var/www/html/logs --link mariadb:mysql gofaustino/sentrifugo


Original README.MD
Expand Down

0 comments on commit 2005df0

Please sign in to comment.