This repository is used to hold the code necessary to get GOsa² up and running in a container environment.
It should be possible to run GOsa² on your local machine and to get it work on your kubernetes environment as well.
The state of container files is "work in progress". The amount of options to use this as an basis to setup an production environment are very limited.
Although you should find any interessting pieces here to get your own environment up and running.
- Setup GOsa² with openLDAP >= 2.5
- Use
START_TLSfor GOsa²s LDAP connection - Using a multi provider LDAP setup
In the future it should be sufficient to apply a manifest to your kubernetes environment with the appropriate configuration values.
We do this to avoid the classic setup wizard that still exists in GOsa².
To get GOsa² up and running in a local container environment you need to do the following steps:
- clone this repository
- create a
docker-compose.ymlfile from the given example and fill out the necessary values - provide a valid ldap configuration
- a valid and working configuration is provided. The base DN is set to
dc=example,dc=com - rename
config.ldif.exampletoconfig.ldif - rename
data.ldif.exampletodata.ldif
- a valid and working configuration is provided. The base DN is set to
- run:
docker compose build - start all containers using
docker compose upordocker compose up -d
After the start GOsa² Web Interface should be available at http://localhost:8080/gosa by default.
At this point you have a working GOsa². Congratulations!
ATTENTION: This example is not inteded to be used as a production environment. It just serves a testing purpose. Keep in mind that we predefined some critical values like passwords. If you choose to start a productive environment based on these files it is crucial to change those values.