Zum Hauptinhalt springen
Blog & News

Aktuelles & Updates von
Joomla, Wordpress und Co.

News, HowTos und Tutorials rund um Webdesign, Webentwicklung, Webhosting und Digitalisierung.

Blog & News

osTicket in Portainer / Docker

08.02.2022 · 1 Min Lesezeit

osTicket is a widely used and trusted open source support ticketing system.

 

 

Custom Stack:

version: '2'

services:
mysql:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
ports:
- 3306
expose:
- 3306
environment:
MYSQL_ROOT_PASSWORD: 7pmsXY2k
MYSQL_DATABASE: osticket
MYSQL_USER: osticket
MYSQL_PASSWORD: osticket
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
timeout: 20s
retries: 10

osticket:
image: osticket/osticket:latest
ports:
- 80
restart: always
depends_on:
mysql:
condition: service_healthy
links:
- mysql:db
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
MYSQL_HOST: mysql
MYSQL_PORT: 3306
MYSQL_USER: osticket
MYSQL_PASSWORD: osticket

volumes:
db_data:

 

So you need to run your application like this if you are using docker cli:

docker run --network=host myappimage

In case of docker-compose you will use is in your service:

network_mode: host

 

 

Backend Login:

E-Mail: admin
Password: admin

Zurück zur Übersicht