diff --git a/Dockerfile b/Dockerfile index b881f96..acb88dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Info -FROM debian:8.2 +FROM debian:8.3 MAINTAINER Nikolas Tsiongas -LABEL Description="Flarum forum easy deployment" Vendor="echo511" Version="1.0" +LABEL Description="Just a Stable Flarum Docker Image" Vendor="echo511" Version="2.0" # System RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && \ diff --git a/README.md b/README.md index 0bcb13c..c63e607 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,26 @@ -# Flarum forum Docker image +# Flarum Forum Docker Image + +## Install + +* Make sure git is installed. +* Pull these files using: +- git clone https://github.com/echo511/docker-flarum.git +* Then run: +- sh bootstrap-flarum.sh ## Instructions -Image database details: +Image Database Details: + +* Database: flarum +* Username: root +* Password: (Without password) + + +## File Contents + +What do our files do: -> db: flarum -> user: root -> password: (without password) +* bootstrap-flarum.sh : Builds a Flarum Docker Image +* run-flarum.sh : Run the Flarum Docker Image +* update-files.sh: Updates these files from GitHub diff --git a/bootstrap-flarum.sh b/bootstrap-flarum.sh new file mode 100644 index 0000000..29f8c4b --- /dev/null +++ b/bootstrap-flarum.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "Bootstraping Flarum" +docker run echo511/docker-flarum diff --git a/run-flarum.sh b/run-flarum.sh index ed7d918..2073dcc 100644 --- a/run-flarum.sh +++ b/run-flarum.sh @@ -1,14 +1,12 @@ #!/bin/sh -echo "Starting flarum..." +echo "Starting Flarum Docker Container" -echo "Stargin mysql" +echo "Starting MySQL" /etc/init.d/mysql start -echo "Starting php" +echo "Starting PHP" /etc/init.d/php5-fpm start -echo "Starting nginx" +echo "Starting NGINX" /etc/init.d/nginx start - -tail -f /var/log/nginx/access.log \ No newline at end of file diff --git a/update-files b/update-files new file mode 100644 index 0000000..c94a982 --- /dev/null +++ b/update-files @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "Updating These Files From GitHub (echo511/docker-flarum)" +git pull