sproutlabs / learninglocker-docker Goto Github PK
View Code? Open in Web Editor NEWDocker image with Learning Locker
Docker image with Learning Locker
I'm running this image but did not configure any of the SMTP env vars. When I register an account in the first screen I get the following error that seems to have to do with the fact the an SMTP config is missing:
Swift_TransportException
Expected response code 250 but got code "", with message ""
(…/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php383)
Is there a way to run the image without SMTP being configured?
Hey there!
It looks like the MongoDB port is hardcoded. How hard would be to make it configurable via an ENV var so that one can use this image with 3rd party MongoDB hosting solutions like mLab?
Thank you!
Learning Locker v2 is now using NodeJS not PHP. The DockerFile in here pulls down the latest so therefore this no longer works as it's set up for a PHP environment.
We have managed to get this working by replacing the following:
RUN curl -L -o learninglocker.tar.gz `curl -s https://api.github.com/repos/LearningLocker/learninglocker/releases/latest | jq --raw-output '.tarball_url'`\
&& tar -xzf learninglocker.tar.gz -C /var/www/html --strip-components=1 \
&& rm learninglocker.tar.gz \
&& chown -R www-data /var/www/html
to this
RUN curl -L -o learninglocker.tar.gz `curl -s https://api.github.com/repos/LearningLocker/learninglocker/releases/5967511 | jq --raw-output '.tarball_url'`\
&& tar -xzf learninglocker.tar.gz -C /var/www/html --strip-components=1 \
&& rm learninglocker.tar.gz \
&& chown -R www-data /var/www/html
So it uses the last v1 version (1.17 I believe).
Regards
Paul
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.