feat: add gokapi for file sending #20

Merged
polpetta merged 1 commits from add-gokapi into master 2023-04-25 12:31:01 +02:00
3 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1 @@
client_max_body_size 15g;

View File

@ -12,6 +12,7 @@ services:
- nginx_cert:/etc/nginx/certs
- nginx_vhost:/etc/nginx/vhost.d
- nginx_html:/usr/share/nginx/html
- ./client_max_body_size.conf:/etc/nginx/conf.d/client_max_body_size.conf:ro
labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy"
networks:

37
send/docker-compose.yml Normal file
View File

@ -0,0 +1,37 @@
version: '3.9'
services:
gokapi:
image: f0rc3/gokapi:v1.7.1
restart: unless-stopped
volumes:
- data:/app/data
- config:/app/config
env_file:
- .env
networks:
- proxy
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
volumes:
data:
driver: local
driver_opts:
type: none
o: bind
device: "/srv/docker/send/data"
config:
driver: local
driver_opts:
type: none
o: bind
device: "/srv/docker/send/config"
networks:
proxy:
external: true