wikindx/README.md

76 lines
1.9 KiB
Markdown
Raw Normal View History

---
lang: EN_US
---
# WIKINDX Container Image
This repository holds the source code for two container images to run the
[WIKINDX](https://wikindx.sourceforge.io/) bibliographic management system.
2021-01-16 20:44:14 +01:00
## Description
To run WIKINDX this repository devides the application into two containers.
This is done to provide maximum performance and maximum security.
2021-01-16 20:44:14 +01:00
### wikindx:fpm-latest
2021-01-16 20:44:14 +01:00
This container image executes all php scripts of the application using
the php-fpm server.
2021-01-16 20:44:14 +01:00
PHP-FPM is listening on port 9000 within the container.
2021-01-16 20:45:48 +01:00
### wikindx:nginx-latest
2021-01-16 20:45:48 +01:00
This container image provides static HTML pages of the application and
uses a reverse proxy definition to request the output of the php scripts
from the container running wikindy:fpm-latest.
2021-01-16 20:45:48 +01:00
Nginx is listening on port 8080 within the container.
2021-01-16 20:44:14 +01:00
**At the moment no SSL/TLS support is provided within the container therefore
you have to put something in front of this container to use SSL/TLS.**
2021-01-16 20:44:14 +01:00
## Prerequisities
A container runtime like
* docker
* podman
* kubernetes
## Container Parameters
### wikindx:fpm-latest
2021-01-16 20:44:14 +01:00
Keep in mind, that WIKINDX only supports mysql or mariadb.
2021-01-16 20:44:14 +01:00
* `WIKINDX_DB_HOST` - the host and port of the WIKINDX database server (e.g. localhost:3306)
* `WIKINDX_DB` - the name of the dabase of the WIKINDX database
* `WIKINDX_DB_USER` - the username to connect to the database server
* `WIKINDX_DB_PASSWORD` - the password to connect to the database server
2021-01-16 20:44:14 +01:00
### wikindx:nginx-latest
2021-01-16 20:44:14 +01:00
* `WIKINDX_FPM_URL` - the url to the PHP FPM server (e.g. localhost:9000)
2021-01-16 20:44:14 +01:00
## Volumes
2021-01-16 20:44:14 +01:00
At the moment no volumes can be mounted inside the containers.
2021-01-16 20:44:14 +01:00
## Source Repository
* https://gitea.federationhq.de/Container/wikindx.git
## Usage Examples
Under `examples` you can find examples on how to run this container images.
## Authors
* **Dominik Meyer** - *Initial work*
## License
2021-01-16 20:44:14 +01:00
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.