This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM adminer:4.8.0 | |
| # WATCH OUT WHEN UPGRADING, THE SED BELOW MIGHT STOP WORKING | |
| USER root | |
| RUN apk add autoconf gcc g++ make libffi-dev openssl-dev | |
| RUN pecl install mongodb | |
| RUN echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/docker-php-ext-mongodb.ini | |
| # MongoDB allows connections without password. | |
| # But that doesn't fly with Adminer which prints 'Database does not support password.' for such case. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| from plexapi.server import PlexServer | |
| # Replace with your actual Plex server details | |
| PLEX_URL = 'http://<plex_server_ip>:32400' | |
| PLEX_TOKEN = '<plex_x_token>' | |
| MOUNT_PATH = '/mnt/nfs' | |
| FOLDERS = ['movies', 'tvshows', 'homevideos', 'youtube'] | |
| def check_folders(): |