Commit e7cc32f8 authored by Dominik Vayhinger's avatar Dominik Vayhinger
Browse files

Initial Commit

parents
Pipeline #893 failed with stages
in 42 seconds
FROM bitnami/moodle:latest
#Proxy
ENV http_proxy 'http://proxy.hft-stuttgart.de:80'
ENV https_proxy 'http://proxy.hft-stuttgart.de:80'
RUN apt-get update && \
apt-get -y install git-core
#Repo link anpassen
RUN git clone https://github.com/HFTSoftwareProject/moodle-assignsubmission_mojec.git /bitnami/moodle/mod/assign/submission/modocot
The MIT License (MIT)
Copyright (c) 2016 Fer Uría
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
hftstuttgart/modocot-moodle-docker
==========================
This Docker image provides the LAMP stack, installs Moodle 3.1 and the [MoJEC moodle plugin for JUnit Test Assignments](https://github.com/HFTSoftwareProject/moodle-assignsubmission_mojec). An external MySQL database is required
Run docker-compose
docker-compose up --build -d
Prebuild images can be found on [Docker Hub](https://hub.docker.com/r/hftstuttgart/moodle/)
version: '2'
services:
mariadb:
container_name: mariadb_compose
image: 'bitnami/mariadb:latest'
environment:
- MARIADB_USER=bn_moodle
- MARIADB_DATABASE=bitnami_moodle
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- 'mariadb_data:/bitnami'
moodle:
container_name: moodle_compose
build:
context: .
environment:
- MARIADB_HOST=mariadb
- MARIADB_PORT_NUMBER=3306
- MOODLE_DATABASE_USER=bn_moodle
- MOODLE_DATABASE_NAME=bitnami_moodle
- ALLOW_EMPTY_PASSWORD=yes
ports:
- '80:80'
- '443:443'
volumes:
- 'moodle_data:/bitnami'
depends_on:
- mariadb
server:
image: gitea/gitea:latest
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
volumes:
- ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
volumes:
mariadb_data:
driver: local
moodle_data:
driver: local
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment