Hy everyone,
I try to use Docker wtih OsTicket, for work in local.
My config docker work fine, i can see the login page for user and admin. My container PHP is link with container DB with good env variables, and i have modified ost-config.php with define('DBHOST','db');
My Docker compose :
version: '3.8'
services:
db:
image: mariadb:10.1
ports:
- "3306:3306"
restart: always
volumes:
- /var/lib/mysql
environment:
- MYSQL_HOST=IP
- MYSQL_ROOT_PASSWORD=PASSWORD
- MYSQL_DATABASE=osticket
- MYSQL_USER=root
- MYSQL_PASSWORD=PASSWORD
- MYSQL_PREFIX=ost_
php:
build:
context: .
dockerfile: Dockerfile
ports:
- "80:80"
volumes:
- .:/var/www/html
environment:
- PHP_FPM_CLEAR_ENV=no
links:
- db
Dockerfile :
FROM php:5.6-apache-jessie
RUN apt-get update
RUN apt-get install -y apt-file
RUN apt-file update
RUN apt-get install -y vim bash net-tools
RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mysql
But the system is offline (in db - table ost_config is not indicate offline).
I can't connect with local account or LDAP account.
Any ideas ?