Size: 1851
Comment:
|
Size: 2146
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from TjadosForum | |
Line 3: | Line 4: |
= Docker container setup for Tjado's forum = | This page is about the Docker container setup for Tjado's homeopathy forum. <<TableOfContents(2)>> |
Line 8: | Line 11: |
=== Data locations === | = Data locations = |
Line 12: | Line 16: |
=== How to stop/restart === | = Terms of use (Nutzervereinbarung) = The text for the current terms of use is contained in the file ''/home/docker/tjado/forum-data/tjado/forum/language/de/ucp.php'' (starting from line 42). = How to stop/restart = |
Line 15: | Line 23: |
{{{cd /home/docker/tjado && sudo docker-compose restart forum}}} | {{{ cd /home/docker/tjado && sudo docker-compose restart forum }}} |
Line 23: | Line 33: |
{{{cd /home/docker/tjado && sudo-docker-compose up -d forum}}} | {{{ cd /home/docker/tjado && sudo-docker-compose up -d forum }}} |
Line 27: | Line 39: |
=== How to get a shell === | = How to get a shell = |
Line 31: | Line 43: |
{{{cd /home/docker/tjado && sudo docker-compose exec forum /bin/bash}}} | {{{ cd /home/docker/tjado && sudo docker-compose exec forum /bin/bash }}} |
Line 35: | Line 49: |
{{{cd /home/docker/tjado && sudo docker-compose exec mariadb /bin/bash}}} | {{{ cd /home/docker/tjado && sudo docker-compose exec mariadb /bin/bash }}} |
Line 37: | Line 53: |
=== Detailed container settings === | = Detailed container settings = |
This page is about the Docker container setup for Tjado's homeopathy forum.
Contents
The tjado forum runs on elba.informatik.uni-freiburg.de. It consists of the docker container "forum" with an Apache which serves the phpBB, and the docker container "mariadb" with the database.
Data locations
All data related to the docker container is in /home/docker/tjado/ . To migrate or backup the docker containers, just copying this folder is required. The actual forum data (phpBB files) is located inside /home/docker/tjado/forum-data and the SQL database data is in /home/docker/tjado/docker-volumes/
Terms of use (Nutzervereinbarung)
The text for the current terms of use is contained in the file /home/docker/tjado/forum-data/tjado/forum/language/de/ucp.php (starting from line 42).
How to stop/restart
To stop or restart the "forum" or "mariadb" container, use this command:
cd /home/docker/tjado && sudo docker-compose restart forum
.. or with stop instead of restart respectively.
(the cd is necessary because docker-compose accesses the docker-compose.yml in /home/docker/tjado for settings)
If the containers aren't running, use the following command:
cd /home/docker/tjado && sudo-docker-compose up -d forum
(and with mariadb respectively)
How to get a shell
The containers work similarly to a virtual machine which an own contained linux install. To get a shell in the forum container with the Apache, run:
cd /home/docker/tjado && sudo docker-compose exec forum /bin/bash
and respectively for the forum:
cd /home/docker/tjado && sudo docker-compose exec mariadb /bin/bash
Detailed container settings
The detailed container settings can be found in /home/docker/tjado/docker-compose.yml for both containers, including the current SQL root password. The build instructions (what software is preinstalled in the containers) can be found in /home/docker/tjado/dockerfile-forums/Dockerfile and /home/docker/tjado/dockerfile-mariadb/Dockerfile .