Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Info
FROM debian:8.2
FROM debian:8.3
MAINTAINER Nikolas Tsiongas <ntsiongas@gmail.com>
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 && \
Expand Down
27 changes: 22 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions bootstrap-flarum.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

echo "Bootstraping Flarum"
docker run echo511/docker-flarum
10 changes: 4 additions & 6 deletions run-flarum.sh
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions update-files
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

echo "Updating These Files From GitHub (echo511/docker-flarum)"
git pull