Username: root@localhost Password: ligero
OTRS is the world most popular Service Desk software, delivered by OTRS Group and a large open source community. You can check more information and all OTRS Group Services in their web site: http://www.otrs.com
This Docker image is maintained by Complemento, a Brazilian company dedicate to delivery ITSM with open source software. We develop many Free and Enterprise AddOns for OTRS. You can check our website for more information: http://complemento.net.br
This image aims to make a fresh new application install of OTRS. You will need to create another MySQL container for your own or use our docker-compose file.
You can run this image in 2 different ways: with docker-compose, creating a stack with OTRS and MySQL with a default installation done, or without docker-compose, running a standalone container and finishing OTRS installation through it's web interface by your own.
First of all, please Install your docker server in case you haven't done yet. You can download Docker Community Edition from this link: https://www.docker.com/community-edition#/download
Now, choose the way you want to run this image:
If you choose this way, please make sure you have installed docker-compose: https://docs.docker.com/compose/install/#install-compose
Download the docker-compose.yaml file from our github, to some folder of your preference.
https://github.com/LigeroSmart/ligerosmart-stack
Run your Stack with:
docker-compose up -d
Then you can check if the system could start by it self:
docker-compose logs -f web
When you see this message on the log: INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
It's because the system is running and you can access it.
You can discover the container IP using the following command:
docker-compose exec web ip a
And then you can access the system in your web browser:
http://CONTAINER_IP/otrs/index.pl
Username: root@localhost Password: ligero
You can edit your docker-compose.yaml and adapt to your reallity
| VARIABLE | Default | DESCRIPTION |
|---|---|---|
| APP_DatabaseType | mysql | Used for setting database type connection. Possible values: mysql, postgresql, odbc |
| APP_DatabaseHost | database | Database server hostname or IP |
| APP_Database | ligero | Database name |
| APP_DatabaseUser | root | Database user name |
| APP_DatabasePw | 1 | Database password |
| APP_NodeID | 1 | Set NodeID variable on OTRS, for cluster configuration. The purpose of this parameter is for scalability solutions integration like Docker Swarm or Kubernetes |
| START_FRONTEND | 1 | It starts apache2. |
| START_BACKEND | 1 | It starts Cron.sh and otrs.Daemon.pl. |
| START_SSHD | 0 | It starts ssh server on port 22 |
| SSH_PASSWORD | Password for otrs user | |
| RESTORE_DIR | /app-backups/restore | Restore backup files (this works only on first run enviroment with empty database) |
| DEBUG_MODE | 0 | Set to 1 to show details on errors screens. |
If you just want to run a docker container with our OTRS 6 flavor, follow these steps:
docker run -d --name my_otrs_container -p 80:80 ligero/otrs-itsm
Then you can check if the system could start by it self:
docker logs -f my_otrs_container
When you see this message on the log: INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
It's because the system is running and you can access it.
You can finish the installation through the following address:
http://localhost/otrs/installer.pl (if you set -p 80:80) or http://YOUR_CONTAINER_IP/otrs/installer.pl
You can discover the container IP using the following command:
docker exec my_otrs_container ip a
You can use OTRS's SMTP protocols for sending emails. This image also contains a sendmail service since it's the recommended way to send emails in OTRS production systems.
If you want to use it instead of OTRS's SMTP protocols, you may map a /etc/mail with sendmail configurations (this is for experts), or access the container and make your own sendmail configuration.
You can map a volume with the addons you want to install during the container startup:
docker run -d --name sd_otrs_app \
-v $(pwd)/app-packages:/app-packages \
ligero/otrs-itsm
Content type
Image
Digest
Size
345.4 MB
Last updated
over 5 years ago
docker pull ligero/otrs-itsm