Add fpm-alpine Dockerfile

This commit is contained in:
Markus Opolka
2018-08-13 18:16:06 +02:00
committed by Markus Opolka
parent cd8f4b825e
commit af02bb1f8c
4 changed files with 169 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
version: "3.0"
services:
limesurvey:
build:
context: fpm-alpine/
dockerfile: Dockerfile
volumes:
- /tmp/upload/:/var/www/html/upload/
- lime:/var/www/html
links:
- lime-db
depends_on:
- lime-db
environment:
- "DB_HOST=docker-limesurvey_lime-db_1"
- "DB_PASSWORD=secret"
- "ADMIN_PASSWORD=foobar"
lime-web:
image: nginx:alpine
links:
- limesurvey
ports:
- "8080:80"
volumes:
- ./examples/nginx.conf:/etc/nginx/nginx.conf:ro
- lime:/var/www/html
lime-db:
image: mysql:5.7
environment:
- "MYSQL_USER=limesurvey"
- "MYSQL_DATABASE=limesurvey"
- "MYSQL_PASSWORD=secret"
- "MYSQL_ROOT_PASSWORD=secret"
volumes:
lime: