diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0f45c27 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM webdevops/php-nginx:7.4-alpine + +WORKDIR /app + +COPY ./ /app + +RUN composer install \ No newline at end of file diff --git a/composer.lock b/composer.lock index 48f25bc..f6ce17c 100644 --- a/composer.lock +++ b/composer.lock @@ -915,5 +915,5 @@ "php": ">=5.6.33" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.0.0" } diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml new file mode 100644 index 0000000..3d88936 --- /dev/null +++ b/docker-compose.dev.yml @@ -0,0 +1,35 @@ +version: '3.2' + +services: + plexshare: + # Image doc here: https://dockerfile.readthedocs.io/en/latest/content/DockerImages/dockerfiles/php-nginx.html + container_name: plexshare-dev + image: chewbaka69/plexshare-dev + build: . + working_dir: /app + ports: + - '80:80' + restart: unless-stopped + environment: + # NGINX + WEB_DOCUMENT_ROOT: /app/public + WEB_DOCUMENT_INDEX: index.php + + # LOGS + LOG_STDOUT: ./var/log/plexshare.stdout.log + LOG_STDERR: ./var/log/plexshare.stderr.log + + # PHP CONFIG + php.error_reporting: 1 + PHP_DISPLAY_ERRORS: E_ALL + + PHP_POST_MAX_SIZE: 20M + PHP_MEMORY_LIMIT: 521M + PHP_MAX_EXECUTION_TIME: 300 + + PHP_DATE_TIMEZONE: Europe/Paris + + # COMPOSER + COMPOSER_VERSION: 1 + volumes: + - .:/app \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f407042 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,35 @@ +version: '3.2' + +services: + plexshare: + # Image doc here: https://dockerfile.readthedocs.io/en/latest/content/DockerImages/dockerfiles/php-nginx.html + container_name: plexshare + image: chewbaka69/plexshare + build: . + working_dir: /app + # If you use a reverse PROXY you can comment those 2 lines below + ports: + - '80:80' + restart: unless-stopped + environment: + # NGINX + WEB_DOCUMENT_ROOT: /app/public + WEB_DOCUMENT_INDEX: index.php + + # LOGS + LOG_STDOUT: ./var/log/plexshare.stdout.log + LOG_STDERR: ./var/log/plexshare.stderr.log + + # PHP CONFIG + # PHP_DISMOD: + + PHP_POST_MAX_SIZE: 20M + PHP_MEMORY_LIMIT: 521M + PHP_MAX_EXECUTION_TIME: 300 + + PHP_DATE_TIMEZONE: Europe/Paris + + # COMPOSER + COMPOSER_VERSION: 1 + volumes: + - .:/app \ No newline at end of file diff --git a/public/assets/css/plex.css b/public/assets/css/plex.css index fcd223b..240cf22 100755 --- a/public/assets/css/plex.css +++ b/public/assets/css/plex.css @@ -8214,9 +8214,9 @@ a > .MetadataTableHeader-tableHeaderCell-61R48:hover, button > .MetadataTableHea } @media (max-width: 320px) { - margin-top: - -15px + .SignInPage-buttonsSection-3uIsI { + margin-top: 15px + } } .SignInPage-badged-1l_5x {