-
Notifications
You must be signed in to change notification settings - Fork 88
Description
I've discovered that when mounting the plugins directory as a volume, the plugins directory is empty. If I don't mount it as a volume, the ldap plugin included here seems to be available.
Can someone tell me what I'm doing wrong here?
Mounting the log and i18n directories work as expected.
This works (plugin is available to osticket. But not to local file system.)
docker run --name osticket -d -e MYSQL_ROOT_PASSWORD=new_root_password -e MYSQL_USER=new_root_user -e MYSQL_PASSWORD=new_secret -e MYSQL_DATABASE=osticket --link osticket_mysql:mysql -p 8080:80 -e SMTP_HOSTS=xxxxxxxxx -e SMTP_PORT=25 -e SMTP_TLS=0 -e TIMEZONE=America/New_York -v /Users/xxxxxxx/code/rxxxxxxxx/i18n:/data/upload/include/i18n -v /Users/xxxxxxxx/code/xxxxxxx/nginx_logs:/var/log/nginx campbellsoftwaresolutions/osticket
adding this line seems to cause things to go awry. The plugin directory is empty and nothing is available to the osticket app when I go to the plugins section of the app.
-v /Users/xxxxxxxx/code/xxxxxxx/plugins:/data/upload/include/plugins
`docker run --name osticket -d -e MYSQL_ROOT_PASSWORD=new_root_password -e MYSQL_USER=new_root_user -e MYSQL_PASSWORD=new_secret -e MYSQL_DATABASE=osticket --link osticket_mysql:mysql -p 8080:80 -e SMTP_HOSTS=xxxxxxxxx -e SMTP_PORT=25 -e SMTP_TLS=0 -e TIMEZONE=America/New_York -v /Users/xxxxxxxx/code/xxxxxxx/plugins:/data/upload/include/plugins -v /Users/xxxxxxx/code/rxxxxxxxx/i18n:/data/upload/include/i18n -v /Users/xxxxxxxx/code/xxxxxxx/nginx_logs:/var/log/nginx campbellsoftwaresolutions/osticket
I'm hoping this is just some some obvious mistake that I've made that someone can easily point out. I've triple checked that the local plugins directory exists.
Thanks for your work and help.