Code Monkey home page Code Monkey logo

docker-chamilo's People

Contributors

manuinnz avatar ywarnier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-chamilo's Issues

Docker for existing chamilo

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

Is this project on freeze? or is it completed?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.