-
-
Notifications
You must be signed in to change notification settings - Fork 78
Installation using Docker
Support for Scrummage installations is provided for tier 3 and 4 monthly sponsors, and ad-hoc support is provided based on the relevant time-limit. For more details, you can contact us via the sponsors page.
PLEASE FOLLOW CAREFULLY AS THERE IS INFORMATION PRINTED IN THE TERMINAL THAT WILL NEED TO BE RETAINED
Docker automates almost the entire installation process and doesn't give you the choice of OS, Ubuntu 20.04 is the current distribution used.
If you want a more in depth understanding of the installation steps, please check out the Wiki page here
This guide assumes you have docker installed on your system already and know the essentials of docker and how its virtualised environments work.
- It is recommended that you change configuration for things like API keys, via the "Edit Inputs", "Edit Outputs", and "Edit Core" functions on the settings page.
- For those that are new to docker, running "docker run..." creates a new container, so all changes will be lost after the build. Use "docker attach" to not overwrite changes.
- Unlike the regular installation of Scrummage, the IP address displayed on run is not the IP address you access Scrummage from. This is because Scrummage is running in a Docker container on your host in a virtualised network. This network uses network address translation (NAT) and the
docker runcommand below maps the internal port 5000 in your virtualised environment to port 5000 on your host so you can access it. You need to access Scrummage using the NAT IP address. If running Docker on a Linux host you can use theifconfigor theip addrcommand to find the Docker IP address on your host, that will be the IP address used to access Scrummage.
- Navigate to the package link here, and follow the command displayed under "Install from the command line", for reference the command is listed below:
user@linux:~$ docker pull ghcr.io/matamorphosis/scrummage:latest- As the package is pre-built, bring up the container using the
docker runcommand and take note of the admin password. (This password is randomly and automatically generated in a secure manner, it is only displayed on the first run of the container, after which is destroyed for obvious security reasons). This password can be changed via the settings page after logging in, but this step is not required.
user@linux:~$ docker run -p 5000:5000 ghcr.io/matamorphosis/scrummage:latest
---EXAMPLE OUTPUT---
* Restarting PostgreSQL 12 database server
...done.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
----------------------------------------------------------------------------------------------------
This is the admin password, this will only be displayed on the first run of Scrummage:
<PASSWORD WILL BE DISPLAYED HERE>
----------------------------------------------------------------------------------------------------
...- Find your docker container's IP address through using either the
ifconfigoripconfigcommand. Then navigate to https://:5000, accept the certificate (if using self-signed), and log in with the useradminand the password provided to you in the previous step.
- If not done already, navigate to the Docker Installation directory
user@linux:~$ cd Scrummage/installation/docker- Bring up container using the following command and take note of the admin password. (This password is randomly and automatically generated in a secure manner, it is only displayed on the first run of the container, after which is destroyed for obvious security reasons). This password can be changed via the settings page after logging in, but this step is not required.
user@linux:/<PATH-TO-SCRUMMAGE>/installation/docker$ docker-compose up
---EXAMPLE OUTPUT---
* Restarting PostgreSQL 12 database server
...done.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
----------------------------------------------------------------------------------------------------
This is the admin password, this will only be displayed on the first run of Scrummage:
<PASSWORD WILL BE DISPLAYED HERE>
----------------------------------------------------------------------------------------------------
...- Find your docker container's IP address through using either the
ifconfigoripconfigcommand. Then navigate to https://:5000, accept the certificate (if using self-signed), and log in with the useradminand the password provided to you in the previous step.
- If not done already, navigate to the Docker Installation directory
user@linux:~$ cd Scrummage/installation/docker- Build the docker image
user@linux:/<PATH-TO-SCRUMMAGE>$ docker build -t scrummage:latest .- Run the container and take note of the admin password. (This password is randomly and automatically generated in a secure manner, it is only displayed on the first run of the container, after which is destroyed for obvious security reasons). This password can be changed via the settings page after logging in, but this step is not required.
user@linux:~$ docker run -p 5000:5000 scrummage/latest
---EXAMPLE OUTPUT---
* Restarting PostgreSQL 12 database server
...done.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
----------------------------------------------------------------------------------------------------
This is the admin password, this will only be displayed on the first run of Scrummage:
<PASSWORD WILL BE DISPLAYED HERE>
----------------------------------------------------------------------------------------------------
...- Find your docker container's IP address through using either the
ifconfigoripconfigcommand. Then navigate to https://:5000, accept the certificate (if using self-signed), and log in with the useradminand the password provided to you in the previous step.
Refer to the Wiki Page https://github.com/matamorphosis/Scrummage/wiki/The-Long-List-of-Tasks
Refer to the Wiki Page https://github.com/matamorphosis/Scrummage/wiki/Output-Options
Refer to the Wiki Page https://github.com/matamorphosis/Scrummage/wiki/Getting-Started-after-Installation
Refer to the Wiki Page https://github.com/matamorphosis/Scrummage/wiki/Plugin-Development-Guide