mirror of
https://git.myvelabs.com/docker/docker-compose.yaml.git
synced 2026-01-11 02:19:22 -06:00
Reboot
This commit is contained in:
parent
b7336a277f
commit
e650d80b1e
58 changed files with 1747 additions and 0 deletions
10
send/.env
Normal file
10
send/.env
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Environment file for docker-compose.yaml
|
||||
# Generate new passwords with:
|
||||
# openssl rand -hex 32
|
||||
|
||||
# Fill in registry
|
||||
REGISTRY=
|
||||
|
||||
# Send
|
||||
SEND_PORT=
|
||||
SEND_TITLE=
|
||||
43
send/docker-compose.yaml
Normal file
43
send/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
services:
|
||||
|
||||
# send (https://github.com/timvisee/send-docker-compose)
|
||||
send:
|
||||
image: ${REGISTRY}/send
|
||||
container_name: send
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${SEND_PORT:-1443}:1443
|
||||
volumes:
|
||||
- ./uploads:/uploads
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
FILE_DIR: /uploads
|
||||
DETECT_BASE_URL: true
|
||||
CUSTOM_TITLE: ${SEND_TITLE:-Send}
|
||||
|
||||
EXPIRE_TIMES_SECONDS: 300,3600,86400,31536000
|
||||
DEFAULT_EXPIRE_SECONDS: 300
|
||||
MAX_EXPIRE_SECONDS: 31536000
|
||||
|
||||
DOWNLOAD_COUNTS: 1,3
|
||||
DEFAULT_DOWNLOADS: 1
|
||||
MAX_DOWNLOADS: 3
|
||||
|
||||
MAX_FILE_SIZE: 107374182400
|
||||
REDIS_HOST: send-redis
|
||||
depends_on:
|
||||
- send-redis
|
||||
networks:
|
||||
- send
|
||||
send-redis:
|
||||
image: ${REGISTRY}/valkey
|
||||
container_name: send-redis
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
networks:
|
||||
- send
|
||||
|
||||
networks:
|
||||
send:
|
||||
external: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue