toniher / docker-semanticmediawiki Goto Github PK
View Code? Open in Web Editor NEWRepository for playing with Docker and Semantic MediaWiki
License: GNU General Public License v2.0
Repository for playing with Docker and Semantic MediaWiki
License: GNU General Public License v2.0
I get an NGINX bad gateway notice at this address:
http://localhost:10080/wiki/
All four containers appear to be running fine...
Originally posted by @csik in #2 (comment)
The script failed early in a few places, for instance trying to download mediawiki itself:
curl -fSL https://releases.wikimedia.org/mediawiki//mediawiki-.tar.gz -o mediawiki.tar.gz
It became clear that environment variable were empty.
I went ahead and ran this before running the smw.sh:
set -o allexport
source vars.env
set +o allexport
Seems to build well now!
I got the following Error when building the Dockerfile. Any Ideas on how to fix?
Thanks,
P.
`Cannot access the database: No such file or directory (). Check the host, username and password and try again.
The command '/bin/sh -c cd /var/www/w; php maintenance/install.php --dbname "$MYSQL_DATABASE" --dbpass "$MYSQL_PASSWORD" --dbserver "$MYSQL_HOST" --dbtype mysql --dbprefix "$MYSQL_PREFIX" --dbuser "$MYSQL_USER" --installdbpass "$MYSQL_PASSWORD" --installdbuser "$MYSQL_USER" --pass "$MW_PASSWORD" --scriptpath "$MW_SCRIPTPATH" --lang "$MW_WIKILANG" "${MW_WIKINAME}" "${MW_WIKIUSER}"' returned a non-zero code: 1
`
I can run smw.sh
successfully, and get two docker images (smw and mariadb:10.1) running. When I type http://0.0.0.0:10080/ in the web browser, I get "403 Forbidden".
What's the correct way to start the smw site after the installation?
Many thanks!
---> Running in f96f16f22955
+ mkdir -p /usr/src/mediawiki
+ curl -fSL https://releases.wikimedia.org/mediawiki/1.23/mediawiki-1.23.9.tar.gz -o mediawiki.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 20.0M 100 20.0M 0 0 2341k 0 0:00:08 0:00:08 --:--:-- 3046k
+ curl -fSL https://releases.wikimedia.org/mediawiki/1.23/mediawiki-1.23.9.tar.gz.sig -o mediawiki.tar.gz.sig
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 96 100 96 0 0 189 0 --:--:-- --:--:-- --:--:-- 190
+ gpg --verify mediawiki.tar.gz.sig
gpg: assuming signed data in `mediawiki.tar.gz'
gpg: Signature made Tue Mar 31 17:57:22 2015 UTC using DSA key ID 62D84F01
gpg: Good signature from "Chris Steipp <[email protected]>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 1624 32D9 E81C 1C61 8B30 1EEC EE1F 6634 62D8 4F01
+ tar -xf mediawiki.tar.gz -C /usr/src/mediawiki --strip-components=1
---> 572ea010f7be
Removing intermediate container f96f16f22955
Step 9 : COPY apache/mediawiki.conf /etc/apache2/
apache/mediawiki.conf: no such file or directory
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.