From 4df90868937b2c4ab14b42060aaaf771332cef20 Mon Sep 17 00:00:00 2001 From: SuperDev Date: Mon, 26 Dec 2022 20:20:36 -0600 Subject: [PATCH] Create docker-compose.yml --- docker-compose.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..66d1599 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,23 @@ +version: '3.3' +services: + supernova3339: + container_name: anonfiles + ports: + - '80:80' + volumes: + - '/etc/anonfiles/files:/var/www/html/files' + environment: + - ADMIN_EMAIL=admin@admin.com + - ADMIN_PASSWORD=password + - 'APP_FILELIST=jpeg,jpg,gif,png,zip,xls,doc,mp3,mp4,mpeg,wav,avi,rar,7z,txt' + # - 'PLAUSIBLE_DOMAIN=https://xxx.xxx' + # - 'PLAUSIBLE_DATA_DOMAIN=project.xxx.xxx' + # - 'PLAUSIBLE_EMBED_TOKEN=xxxxxxx' - when you generate EMBED code, you'll see ?auth=-xxxxxxxxxxxxxxx - this is what you should copy - don't copy anything after it ( feel free to delete this if you want to use plausible with anonfiles ) + - APP_SIZE_VERIFICATION=true + - APP_FILE_DESTINATION=files + - 'APP_BASE_URL=https://xxx.xxx/' + - APP_MAX_SIZE=10000000000 + - APP_MIN_SIZE=0 + - APP_CONTACT_EMAIL=changeme@dontforget.okay + - APP_DOWNLOAD_TIME=30 + image: ghcr.io/supernova3339/anonfiles