mirror of
https://github.com/ION606/sharing.git
synced 2026-05-14 21:56:54 +00:00
init
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
(tempfiles.ion606.com) {
|
||||||
|
encode gzip zstd
|
||||||
|
reverse_proxy lufi:8758
|
||||||
|
}
|
||||||
|
|
||||||
|
(bin.ion606.com) {
|
||||||
|
encode gzip zstd
|
||||||
|
reverse_proxy privatebin:8758
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
services:
|
||||||
|
caddy:
|
||||||
|
image: caddy:2-alpine
|
||||||
|
restart: unless-stopped
|
||||||
|
command: ["caddy", "run", "--config", "/etc/caddy/Caddyfile"]
|
||||||
|
ports:
|
||||||
|
- "8756:80"
|
||||||
|
- "8757:443"
|
||||||
|
networks:
|
||||||
|
- edge
|
||||||
|
environment:
|
||||||
|
- ACME_AGREE=true
|
||||||
|
- EMAIL=support@ion606.com
|
||||||
|
volumes:
|
||||||
|
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||||
|
- caddy_data:/data
|
||||||
|
- caddy_config:/config
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
read_only: true
|
||||||
|
|
||||||
|
lufi:
|
||||||
|
image: victorrds/lufi:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- edge
|
||||||
|
expose:
|
||||||
|
- "8758"
|
||||||
|
volumes:
|
||||||
|
- ./lufi.conf:/etc/lufi.conf:ro
|
||||||
|
- lufi_files:/var/lufi/files
|
||||||
|
labels:
|
||||||
|
- caddy=files.example.com
|
||||||
|
- caddy.reverse_proxy={{upstreams 8758}}
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
|
||||||
|
privatebin:
|
||||||
|
image: privatebin/nginx-fpm-alpine:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- edge
|
||||||
|
expose:
|
||||||
|
- "8758"
|
||||||
|
volumes:
|
||||||
|
- privatebin_data:/srv/data
|
||||||
|
- ./privatebin.conf.php:/srv/cfg/conf.php:ro
|
||||||
|
labels:
|
||||||
|
- caddy=bin.example.com
|
||||||
|
- caddy.reverse_proxy={{upstreams 8758}}
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
read_only: true
|
||||||
|
|
||||||
|
networks:
|
||||||
|
edge:
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
caddy_data:
|
||||||
|
caddy_config:
|
||||||
|
lufi_files:
|
||||||
|
privatebin_data:
|
||||||
|
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
# required contact info displayed on the about page
|
||||||
|
contact => 'mailto:support@ion606.com',
|
||||||
|
|
||||||
|
# listen defaults are fine in Docker; we’re proxied by Caddy
|
||||||
|
proxy => 1, # very important when running behind Caddy/NGINX
|
||||||
|
|
||||||
|
# provisioning/limits
|
||||||
|
provisioning => {
|
||||||
|
max_file_size => 524288000, # 500 MiB per upload
|
||||||
|
max_delay => 604800, # 7 days (seconds)
|
||||||
|
max_files => 20, # files per “batch”
|
||||||
|
},
|
||||||
|
|
||||||
|
# housekeeping
|
||||||
|
loglevel => 'warn',
|
||||||
|
minion => {cleanup => 1}, # enable built-in cleanup worker
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user