mirror of
https://github.com/ION606/sharing.git
synced 2026-05-14 21:56:54 +00:00
updated limits and added restart
This commit is contained in:
@@ -1 +1,2 @@
|
||||
.env
|
||||
tmp/
|
||||
|
||||
@@ -23,7 +23,7 @@ http://{$SHORT_DOMAIN}:8550 {
|
||||
@shortenPre method OPTIONS path /shorten
|
||||
respond @shortenPre 204
|
||||
|
||||
# everything else → shlink ui/api
|
||||
# everything else --> shlink ui/api
|
||||
handle {
|
||||
reverse_proxy http://shlink:8080
|
||||
}
|
||||
|
||||
+5
-1
@@ -19,6 +19,7 @@ services:
|
||||
|
||||
privatebin:
|
||||
image: privatebin/nginx-fpm-alpine:stable
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./privatebin.conf.php:/srv/cfg/conf.php:ro,Z
|
||||
- privatebin-data:/srv/data
|
||||
@@ -34,6 +35,7 @@ services:
|
||||
|
||||
lufi:
|
||||
image: xataz/lufi:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- UID=1000
|
||||
- GID=1000
|
||||
@@ -41,7 +43,7 @@ services:
|
||||
- SECRET=${LUFI_SECRET} # 32+ rand chars
|
||||
- DEFAULT_DELAY=7 # days until deletion
|
||||
- MAX_DELAY=30 # max days a user can choose
|
||||
- MAX_FILE_SIZE=250000000 # ~238 MiB; adjust as needed
|
||||
- MAX_FILE_SIZE=500000000
|
||||
- WEBROOT=/ # served at /
|
||||
- DISABLE_MAIL_SENDING=1
|
||||
volumes:
|
||||
@@ -57,6 +59,7 @@ services:
|
||||
|
||||
shlink-db:
|
||||
image: postgres:16-alpine
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_DB=shlink
|
||||
- POSTGRES_USER=shlink
|
||||
@@ -78,6 +81,7 @@ services:
|
||||
|
||||
shlink:
|
||||
image: shlinkio/shlink:stable
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- DEFAULT_DOMAIN=${SHORT_DOMAIN}
|
||||
- IS_HTTPS_ENABLED=true
|
||||
|
||||
Reference in New Issue
Block a user