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
|
.env
|
||||||
|
tmp/
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ http://{$SHORT_DOMAIN}:8550 {
|
|||||||
@shortenPre method OPTIONS path /shorten
|
@shortenPre method OPTIONS path /shorten
|
||||||
respond @shortenPre 204
|
respond @shortenPre 204
|
||||||
|
|
||||||
# everything else → shlink ui/api
|
# everything else --> shlink ui/api
|
||||||
handle {
|
handle {
|
||||||
reverse_proxy http://shlink:8080
|
reverse_proxy http://shlink:8080
|
||||||
}
|
}
|
||||||
|
|||||||
+5
-1
@@ -19,6 +19,7 @@ services:
|
|||||||
|
|
||||||
privatebin:
|
privatebin:
|
||||||
image: privatebin/nginx-fpm-alpine:stable
|
image: privatebin/nginx-fpm-alpine:stable
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./privatebin.conf.php:/srv/cfg/conf.php:ro,Z
|
- ./privatebin.conf.php:/srv/cfg/conf.php:ro,Z
|
||||||
- privatebin-data:/srv/data
|
- privatebin-data:/srv/data
|
||||||
@@ -34,6 +35,7 @@ services:
|
|||||||
|
|
||||||
lufi:
|
lufi:
|
||||||
image: xataz/lufi:latest
|
image: xataz/lufi:latest
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- UID=1000
|
- UID=1000
|
||||||
- GID=1000
|
- GID=1000
|
||||||
@@ -41,7 +43,7 @@ services:
|
|||||||
- SECRET=${LUFI_SECRET} # 32+ rand chars
|
- SECRET=${LUFI_SECRET} # 32+ rand chars
|
||||||
- DEFAULT_DELAY=7 # days until deletion
|
- DEFAULT_DELAY=7 # days until deletion
|
||||||
- MAX_DELAY=30 # max days a user can choose
|
- 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 /
|
- WEBROOT=/ # served at /
|
||||||
- DISABLE_MAIL_SENDING=1
|
- DISABLE_MAIL_SENDING=1
|
||||||
volumes:
|
volumes:
|
||||||
@@ -57,6 +59,7 @@ services:
|
|||||||
|
|
||||||
shlink-db:
|
shlink-db:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_DB=shlink
|
- POSTGRES_DB=shlink
|
||||||
- POSTGRES_USER=shlink
|
- POSTGRES_USER=shlink
|
||||||
@@ -78,6 +81,7 @@ services:
|
|||||||
|
|
||||||
shlink:
|
shlink:
|
||||||
image: shlinkio/shlink:stable
|
image: shlinkio/shlink:stable
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- DEFAULT_DOMAIN=${SHORT_DOMAIN}
|
- DEFAULT_DOMAIN=${SHORT_DOMAIN}
|
||||||
- IS_HTTPS_ENABLED=true
|
- IS_HTTPS_ENABLED=true
|
||||||
|
|||||||
Reference in New Issue
Block a user