Add Readme and example compose file

This commit is contained in:
Markus Opolka
2018-02-13 10:21:27 +01:00
parent a1bdc464fb
commit b8eb7b7c92
4 changed files with 37 additions and 0 deletions

9
.dockerignore Normal file
View File

@@ -0,0 +1,9 @@
.git
.gitignore
LICENSE
VERSION
README.md
Changelog.md
Makefile
docker-compose.yml
docs

6
.travis.yml Normal file
View File

@@ -0,0 +1,6 @@
sudo: required
language: bash
services:
- docker
script:
- docker build -t martialblog/limesurvey .

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# LimeSurvey Docker
Dockerfile to build a [LimeSurvey](https://limesurvey.org) image for the Docker container platform.

19
docker-compose.yml Normal file
View File

@@ -0,0 +1,19 @@
version: "3.0"
services:
limesurvey:
build:
context: .
dockerfile: apache/Dockerfile
links:
- lime-db
depends_on:
- lime-db
ports:
- "8080:80"
lime-db:
image: mysql:5.7
environment:
- "MYSQL_USER=limesurvey"
- "MYSQL_DATABASE=limesurvey"
- "MYSQL_PASSWORD=secret"
- "MYSQL_ROOT_PASSWORD=secret"