Compare commits

..

No commits in common. "56993060ee5daa8e299c6e8262349d09f5acd981" and "5584bad1aa7c921ceeeaaa158e1ea786b2505443" have entirely different histories.

2 changed files with 6 additions and 15 deletions

@ -5,9 +5,6 @@ RUN apt update
RUN DEBIAN_FRONTEND=noninteractive \
apt install nginx php8.1 php8.1-fpm php8.1-gd -y
# Clean up
RUN apt clean
# Set up nginx
COPY ./docker/nginx.conf /etc/nginx/nginx.conf

@ -1,8 +1,7 @@
version: "3"
version: "3.4"
services:
sharex-uploader:
container_name: ShareX-Uploader
sharex-php-uploader:
image: fascinated/sharex-php-uploader:latest
# Uncomment the following line to build the image yourself
# build: https://git.fascinated.cc/Fascinated/sharex-php-uploader.git
@ -11,21 +10,16 @@ services:
# context: .
restart: always
environment:
- TZ=America/Los_Angeles
- MAX_UPLOAD_SIZE=500M
- UPLOAD_SECRETS=set me # You can add multiple secrets. Format: secret1,secret2,secret3
- UPLOAD_DIR=./ # The directory to store the uploaded files
- USE_RANDOM_FILE_NAMES=true # If true, the uploaded files will be renamed to a random string
- FILE_NAME_LENGTH=8 # The length of the random file name
- SHOULD_CONVERT_TO_WEBP=true # If true, the uploaded files will be converted to webp
- WEBP_QUALITY=95 # The quality of the converted webp files (0-100 -)
- WEBP_QUALITY=95 # The quality of the converted webp files (0-100 - higher is better)
- WEBP_THREADHOLD=1048576 # The minimum file size to convert to webp (1MB in bytes)
ports:
- "80:80/tcp"
- 80:80
volumes:
- "/home/fascinated-cdn/uploads:/var/www/html:rw"
networks:
- bridge
networks:
bridge:
# Where to store the uploaded files
- ./uploads:/var/www/html