You are viewing an old version of this page. Return to the latest version.
Version of 14:34, 26 September 2019 by MLR
Difference between revisions of "Setup:Installation Guide/Docker/Docker Hub"
< Setup:Installation Guide | DockerReturn to history page
← Setup:Installation Guide/Docker/Docker Hub
← Setup:Installation Guide/Docker/Docker Hub
[quality revision] | [quality revision] |
(Created page with "The easieast way to run BlueSpice free is to use Docker Hub with an all-in-one image. All required services are preconfigured. [https://hub.docker.com/r/bluespice/bluespice...") (Tag: 2017 source edit) |
(Tag: 2017 source edit) |
The easieast way to run BlueSpice free is to use Docker Hub with an all-in-one image. All required services are preconfigured.
You can find all necessary information directly on Docker Hub.
Contents
How to use the Docker Hub image[edit | edit source]
Introduction[edit | edit source]
Basic usage[edit | edit source]
Example for quick start. Blue Spice will be accessible only in localhost.
docker run -d -p 80:80 bluespice/bluespice-free
Keep your data outside of the docker[edit | edit source]
docker run -d -p 80:80 -v {/my/data/folder}:/data bluespice/bluespice-free
Setting BlueSpice language and URL[edit | edit source]
docker run -d -p 80:80 -v {/my/data/folder}:/data -e "bs_lang=en" -e "bs_url=http://www.domain.com" bluespice/bluespice-free
Activating SSL[edit | edit source]
Using SSL inside the Blue Spice docker image, the data
directory should be outside of the docker. Create a folder named cert
inside your data folder. Inside this folder, certificates must be named like:
-
ssl.cert
(SSL certificate. mandatory) -
ssl.key
(Private key ofssl.cert
. mandatory) -
ssl.ca
(3rd party CA certs forssl.cert
. optional) If everything is ready for the first run, just run the following command:
docker run -d -p 80:80 -p 443:443 -v {/my/data/folder}:/data -e "bs_lang=en" -e "bs_url=https://www.domain.com" bluespice/bluespice-free
Note: Port 443 includes the command and also $bs_url
schema changed to https
Login to Blue Spice[edit | edit source]
username: WikiSysop
password: hallowelt
Which services are runnning?[edit | edit source]
- Apache
- PHP-FPM
- Jetty9
- Elasticsearch
- MySQL/MariaDB
- Parsoid
- crond
- memcached
The easieast way to run BlueSpice free is to use Docker Hub with an all-in-one image. All required services are preconfigured. [https://hub.docker.com/r/bluespice/bluespice-free You can find all necessary information directly on Docker Hub.] == How to use the Docker Hub image == == Introduction == === Basic usage == ===Basic usage=== Example for quick start. Blue Spice will be accessible only in localhost. <code><syntaxhighlight> docker run -d -p 80:80 bluespice/bluespice-free</code> === </syntaxhighlight> ===Keep your data outside of the docker === <code>=== <syntaxhighlight> docker run -d -p 80:80 -v {/my/data/folder}:/data bluespice/bluespice-free</code> === </syntaxhighlight> ===Setting BlueSpice language and URL === <code>=== <syntaxhighlight> docker run -d -p 80:80 -v {/my/data/folder}:/data -e "bs_lang=en" -e "bs_url=<nowiki>http://www.domain.com</nowiki>" bluespice/bluespice-free</code> </syntaxhighlight> === Activating SSL === Using SSL inside the Blue Spice docker image, the <code>data</code> directory should be outside of the docker. Create a folder named <code>cert</code> inside your data folder. Inside this folder, certificates must be named like: * <code>ssl.cert</code> (SSL certificate. ''mandatory'') * <code>ssl.key</code> (Private key of <code>ssl.cert</code>. ''mandatory'') * <code>ssl.ca</code> (3rd party CA certs for <code>ssl.cert</code>. ''optional'') If everything is ready for the first run, just run the following command: <code>docker run -d -p 80:80 -p 443:443 -v {/my/data/folder}:/data -e "bs_lang=en" -e "bs_url=<nowiki>https://www.domain.com</nowiki>" bluespice/bluespice-free</code> ''Note: Port 443 includes the command and also <code>$bs_url</code> schema changed to <code>https</code>'' === Login to Blue Spice === <code>username: WikiSysop password: hallowelt</code> == === <syntaxhighlight> username: WikiSysop password: hallowelt </syntaxhighlight> ==Which services are runnning? == * Apache * PHP-FPM * Jetty9 * Elasticsearch * MySQL/MariaDB * Parsoid * crond * memcached [[en:{{PAGENAME}}]]== *Apache *PHP-FPM *Jetty9 *Elasticsearch *MySQL/MariaDB *Parsoid *crond *memcached [[en:{{PAGENAME}}]] [[de:https://de.wiki.bluespice.com/wiki/Setup:Docker_Hub]]
Line 3: | Line 3: | ||
[https://hub.docker.com/r/bluespice/bluespice-free You can find all necessary information directly on Docker Hub.] | [https://hub.docker.com/r/bluespice/bluespice-free You can find all necessary information directly on Docker Hub.] | ||
− | == How to use the Docker Hub image == | + | ==How to use the Docker Hub image== |
− | + | ===Basic usage=== | |
− | |||
− | === Basic usage === | ||
Example for quick start. Blue Spice will be accessible only in localhost. | Example for quick start. Blue Spice will be accessible only in localhost. | ||
− | + | <syntaxhighlight> | |
− | + | docker run -d -p 80:80 bluespice/bluespice-free | |
− | + | </syntaxhighlight> | |
− | |||
− | === Setting BlueSpice language and URL === | + | ===Keep your data outside of the docker=== |
− | + | <syntaxhighlight> | |
+ | docker run -d -p 80:80 -v {/my/data/folder}:/data bluespice/bluespice-free | ||
+ | </syntaxhighlight> | ||
+ | ===Setting BlueSpice language and URL=== | ||
+ | <syntaxhighlight> | ||
+ | docker run -d -p 80:80 -v {/my/data/folder}:/data -e "bs_lang=en" -e "bs_url=http://www.domain.com" bluespice/bluespice-free | ||
+ | </syntaxhighlight> | ||
=== Activating SSL === | === Activating SSL === | ||
Using SSL inside the Blue Spice docker image, the <code>data</code> directory should be outside of the docker. Create a folder named <code>cert</code> inside your data folder. Inside this folder, certificates must be named like: | Using SSL inside the Blue Spice docker image, the <code>data</code> directory should be outside of the docker. Create a folder named <code>cert</code> inside your data folder. Inside this folder, certificates must be named like: | ||
− | * <code>ssl.cert</code> (SSL certificate. ''mandatory'') | + | *<code>ssl.cert</code> (SSL certificate. ''mandatory'') |
− | * <code>ssl.key</code> (Private key of <code>ssl.cert</code>. ''mandatory'') | + | *<code>ssl.key</code> (Private key of <code>ssl.cert</code>. ''mandatory'') |
− | * <code>ssl.ca</code> (3rd party CA certs for <code>ssl.cert</code>. ''optional'') If everything is ready for the first run, just run the following command: | + | *<code>ssl.ca</code> (3rd party CA certs for <code>ssl.cert</code>. ''optional'') If everything is ready for the first run, just run the following command: |
<code>docker run -d -p 80:80 -p 443:443 -v {/my/data/folder}:/data -e "bs_lang=en" -e "bs_url=<nowiki>https://www.domain.com</nowiki>" bluespice/bluespice-free</code> | <code>docker run -d -p 80:80 -p 443:443 -v {/my/data/folder}:/data -e "bs_lang=en" -e "bs_url=<nowiki>https://www.domain.com</nowiki>" bluespice/bluespice-free</code> | ||
''Note: Port 443 includes the command and also <code>$bs_url</code> schema changed to <code>https</code>'' | ''Note: Port 443 includes the command and also <code>$bs_url</code> schema changed to <code>https</code>'' | ||
− | === Login to Blue Spice === | + | ===Login to Blue Spice=== |
− | + | <syntaxhighlight> | |
− | + | username: WikiSysop | |
+ | password: hallowelt | ||
+ | </syntaxhighlight> | ||
− | == Which services are runnning? == | + | ==Which services are runnning?== |
− | * Apache | + | *Apache |
− | * PHP-FPM | + | *PHP-FPM |
− | * Jetty9 | + | *Jetty9 |
− | * Elasticsearch | + | *Elasticsearch |
− | * MySQL/MariaDB | + | *MySQL/MariaDB |
− | * Parsoid | + | *Parsoid |
− | * crond | + | *crond |
− | * memcached | + | *memcached |
− | [[en:{{PAGENAME}}]][[de:https://de.wiki.bluespice.com/wiki/Setup: | + | [[en:{{PAGENAME}}]] |
+ | [[de:https://de.wiki.bluespice.com/wiki/Setup:Docker_]] |