docker build -t croc/otrs otrs
Edit the docker-compose.yml file and modify the basic database connection settings.
Example:
- MYSQL_ROOT_PASSWORD=SuperSecret
- MYSQL_DATABASE=otrs
- MYSQL_USER=otrs
- MYSQL_PASSWORD=otrs
docker-compose up -d
The MySQL containers start about 2-5 mins at the first time. Don't worry about error messages at this time in the OTRS container. Wait 2-3 minutes and continue with install procedure after the first start.
You have to setup the database after the first start.
docker-compose.yml file (example: database - otrs, user - otrs, password - otrs, host - db)root@localhost admin user. Remember this password. You can log in with this as an admin.Open the http:///otrs/index.pl (example: http://192.168.56.101/otrs/index.pl) in your browser and log in.
Default admin login is: root@localhost and the password is root, but you will get a generated password for this user after the installation procedure. This generated password is more secure than default :)
Sometimes the web UI says "The OTRS daemon not running" or something similar problem. You can check the daemon status with this command:
docker-compose exec otrs su - otrs -c "/opt/otrs/bin/otrs.Daemon.pl status"
for devs:
Content type
Image
Digest
Size
192.9 MB
Last updated
over 8 years ago
docker pull croc/otrs