- Multiple Instances
- External Database
- SSO (Kerberos; Apache accept Configuration) - Missing/Check?
- Postfix send - Missing/Check?:
- Web Server for redirection (optional: Server Certificate)
- Postfix
- Docker
${ZNUNY_PERSISTENT_FOLDER}
└─ ${ZNUNY_INSTANCE}
├─ persistent
│ ├─ Config.pm
│ └─ VERSION
├─ log
├─ article
└─ htdocs_custom
Default
/opt/znuny
└─ default
├─ persistent
│ ├─ Config.pm
│ └─ VERSION
├─ log
├─ article
└─ htdocs_custom
| Variable | Example | Description |
|---|---|---|
| ZNUNY_VERSION | latest 7.3.3 |
Znuny version |
| ZNUNY_INSTANCE | instance1 |
optional: Suffix for Dockername. Can be empty |
| WEB_PORT | 8080 | Apache external Port |
| DB_HOST | znuny-db | Database IP-Adresse |
| DB_NAME | znuny | Database Name |
| DB_USER | znuny_user | Database Username |
| File | Example Content | Description |
|---|---|---|
| db_root_password | !mysecretpwd! | Database root Password |
| db_password_${ZNUNY_INSTANCE} | !mysecretpwd! | Database Password |
docker compose up -d
- Create a copy from .env
- Rename the copy f.e. to .env.instance1
- Run
docker compose --env-file .env.instance1 up -d
docker compose --env-file .env.instance2 up -d
docker compose -f docker-compose.yml -f docker-compose-db.yml up -d
Directly from the host:
docker exec -u znuny znuny_httpd /opt/znuny/bin/znuny.Console.pl
znuny_httpd - container name or id
Or from an interactive shell inside the container:
docker exec -ti -u znuny znuny_httpd /bin/bash
./bin/znuny.Console.pl
docker exec -u znuny znuny_httpd /opt/znuny/bin/otrs.Daemon.pl stop
docker exec -u znuny znuny_httpd /opt/znuny/bin/otrs.Daemon.pl start