chamilo / docker-chamilo Goto Github PK
View Code? Open in Web Editor NEWOfficial Docker container for Chamilo LMS
License: GNU Affero General Public License v3.0
Official Docker container for Chamilo LMS
License: GNU Affero General Public License v3.0
Hi Yannick,
We aim to migrate the chamilo platform from standard hosting to a Docker architecture, what do you think about this configuration file?
Dockerfile for webserver (PHP + NGINX):
FROM webdevops/php-nginx:7.4
RUN mkdir -p /app/chamilo
WORKDIR /app
RUN git clone --depth=1 --single-branch -b 1.11.x https://github.com/chamilo/chamilo-lms.git chamilo
WORKDIR /app/chamilo
RUN ls -ll
RUN rm -rf vendor/* web/* composer.lock
RUN su application
RUN composer update
RUN exit
RUN chown -R application:application app main/default_course_document/images main/lang web
docker-compose.yml:
version: "3"
services:
nginx-reverse-proxy:
build:
context: .
dockerfile: nginx/production/reverse-proxy/Dockerfile
ports:
- "80:80"
depends_on:
- webserver
networks:
- internal
#volumes:
# - ./nginx/production/vhost/chamilo-docker-proxy.conf:/opt/bitnami/nginx/conf/server_blocks/chamilo-docker-proxy.conf:ro
webserver:
build:
context: .
dockerfile: nginx/production/Dockerfile
ports:
- "8080:80"
environment:
#WEB_ALIAS_DOMAIN: chamilo-docker
WEB_DOCUMENT_ROOT: /app/chamilo
networks:
- internal
volumes:
- ./data/chamilo/www/app/cache:/app/chamilo/app/cache
- ./data/chamilo/www/app/log:/app/chamilo/app/log
- ./data/chamilo/www/app/upload:/app/chamilo/app/upload
- ./data/chamilo/www/app/home:/app/chamilo/app/home
#- ./data/chamilo/www/app/config/parameters.yml:/app/chamilo/app/config/parameters.yml # file not found
- ./data/chamilo/www/app/config/add_course.conf.php:/app/chamilo/app/config/add_course.conf.php
- ./data/chamilo/www/app/config/auth.conf.php:/app/chamilo/app/config/auth.conf.php
- ./data/chamilo/www/app/config/course_info.conf.php:/app/chamilo/app/config/course_info.conf.php
- ./data/chamilo/www/app/config/events.conf.php:/app/chamilo/app/config/events.conf.php
- ./data/chamilo/www/app/config/mail.conf.php:/app/chamilo/app/config/mail.conf.php
- ./data/chamilo/www/app/config/profile.conf.php:/app/chamilo/app/config/profile.conf.php
- ./data/chamilo/www/app/config/configuration.php:/app/chamilo/app/config/configuration.php
- ./data/chamilo/www/app/courses:/app/chamilo/app/courses
- ./data/chamilo/www/plugin/ceusi_app:/app/chamilo/plugin/ceusi_app
- ./data/chamilo/www/plugin/keycloak:/app/chamilo/plugin/keycloak
- ./nginx/production/vhost/10-location-root.conf:/opt/docker/etc/nginx/vhost.common.d/10-location-root.conf
- ./nginx/production/vhost/10-php.conf:/opt/docker/etc/nginx/vhost.common.d/10-php.conf
- ./nginx/production/vhost/chamilo-docker.conf:/opt/docker/etc/nginx/vhost.common.d/chamilo-docker.conf
networks:
internal:
driver: bridge
In my local machine, app run without any issue, can I use the same configuration in production ? database will be in dedicated server
Hello, I would like to change the default hostname of the container to other one.
I'm not interested using http://docker.chamilo.net.
How can I change that?
Hello @ywarnier I notice that the last commit was performed on 31 Jul 2015.
I would like to know if It was completed by that time but the readme wasn't modified or if this is still on hold.
I am looking forward to use this image since I need to have an LMS running on a container.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.