Commit b87bfa18 authored by David Ivain's avatar David Ivain
Browse files

docker fonctionnel (testé la connexion et l'ajout d'une UE) après avoir ajouté...

docker fonctionnel (testé la connexion et l'ajout d'une UE) après avoir ajouté l'utilisateur à la bdd
parent 4254f716
......@@ -4,6 +4,7 @@ RUN apt-get update
# RUN apt-get upgrade
RUN apt-get install wget git -y
RUN apt-get install -y nano bsdtar curl zip unzip
RUN a2enmod rewrite
RUN docker-php-ext-install mysqli pdo pdo_mysql
RUN curl -sS https://getcomposer.org/installer | php
RUN mv composer.phar /usr/local/bin/composer
......@@ -18,9 +19,11 @@ RUN mv /root/.symfony/bin/symfony /usr/local/bin/symfony
WORKDIR /var/www/html
RUN wget https://gitlab-fil.univ-lille.fr/mikael.salson/alecsia/-/archive/david/alecsia-david.zip
RUN unzip alecsia-david.zip
RUN rm alecsia-david.zip
RUN mv alecsia-david alecsia
WORKDIR /var/www/html/alecsia
RUN cp ./docker/config/parameters.yml ./app/config/parameters.yml
RUN cp ./docker/config/password.yml ./app/config/password.yml
RUN mkdir upload
RUN composer install
RUN php vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php
......@@ -35,6 +38,7 @@ RUN chmod 777 app/cache && chmod 777 app/logs
WORKDIR /var/www/html
RUN wget https://framagit.org/mikaels/teacherbook/-/archive/master/teacherbook-master.zip
RUN unzip teacherbook-master.zip
RUN rm teacherbook-master.zip
RUN mv teacherbook-master teacherbook
WORKDIR /var/www/html/teacherbook
RUN cp ../alecsia/docker/config/config.php config.php
......
......@@ -19,7 +19,7 @@ parameters:
teacher_mail : Mikael.Salson@univ-lille1.fr
alecsia.lille1.teacherbook: http://alecsia/teacherbook/index.php
alecsia.lille1.user.yaml:
alecsia.lille1.user.yaml: password.yml
alecsia.upload_dir: %kernel.root_dir%/../upload
be_simple.sso_auth.client.option.curlopt_sslversion.value: 1
ivain: mdp
\ No newline at end of file
This diff is collapsed.
Supports Markdown
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