Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Feature

  • Multiple Instances
  • External Database
  • SSO (Kerberos; Apache accept Configuration) - Missing/Check?
  • Postfix send - Missing/Check?:

Prerequirenments (Server, not docker image)

Prerequirenments

  • Web Server for redirection (optional: Server Certificate)
  • Postfix
  • Docker

Folder Structure

${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


How to install (docker image)

Docker Variables (.env)

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

Docker Secrets (./secrets/*)

File Example Content Description
db_root_password !mysecretpwd! Database root Password
db_password_${ZNUNY_INSTANCE} !mysecretpwd! Database Password

Run Docker

Run Docker default

docker compose up -d

Run Docker with different instances

  1. Create a copy from .env
  2. Rename the copy f.e. to .env.instance1
  3. Run
docker compose --env-file .env.instance1 up -d
docker compose --env-file .env.instance2 up -d

Run Docker with Mariadb

docker compose -f docker-compose.yml -f docker-compose-db.yml up -d

Znuny Commandline

Running console commands

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

Starting / stopping the daemon:

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages