Update stack.production.yml

This commit is contained in:
colin 2024-03-18 18:00:29 +00:00
parent c581ecae9b
commit 856f2e4e4a
1 changed files with 44 additions and 23 deletions

View File

@ -1,34 +1,55 @@
version: '3.7'
version: "3.7"
networks:
traefik:
external: true
default:
services:
remmina:
image: git.nixc.us/nixius/remmina:production
web:
image: registry.gitlab.com/timvisee/send:latest
depends_on:
- redis
environment:
- PUID=1000
- PGID=1000
# - REMMINA_PASSWORD=your_password
- REMMINA_PORT=5900
REDIS_HOST: send_redis
FILE_DIR: /uploads
DETECT_BASE_URL: "true"
MAX_FILE_SIZE: 4294967296 # 2147483648 #4,294,967,296
MAX_FILES_PER_ARCHIVE: 64
MAX_DOWNLOADS: 20
DOWNLOAD_COUNTS: "2,1,2,5,10,15,25,50,100,1000"
EXPIRE_TIMES_SECONDS: "3600,86400,604800,2592000,31536000"
DEFAULT_DOWNLOADS: "1"
DEFAULT_EXPIRE_SECONDS: "86400"
volumes:
- "/mnt/tank/persist/nixc.us/remmina/production/config:/config"
- /mnt/tank/persist/aenow.com/send/staging/uploads:/uploads
networks:
- default
- traefik
deploy:
replicas: 1
placement:
constraints:
- node.hostname == macmini8
labels:
traefik.docker.network: traefik
traefik.enable: "true"
traefik.http.routers.production_remmina.entrypoints: websecure
traefik.http.routers.production_remmina.rule: Host(`remmina.nixc.us`)
traefik.http.routers.production_remmina.service: production_remmina
traefik.http.routers.production_remmina.tls: "true"
traefik.http.routers.production_remmina.tls.certresolver: letsencryptresolver
traefik.http.services.production_remmina.loadbalancer.server.port: '5900'
traefik.tags: traefik
traefik.http.routers.production_remmina.middlewares: authelia_authelia@docker
- "traefik.enable=true"
- "traefik.http.routers.production_send_web.tls=true"
- "traefik.http.services.production_send_web.loadbalancer.server.port=1443"
- "traefik.http.routers.production_send_web.rule=Host(`send.aenow.com`)"
- "traefik.http.routers.production_send_web.entrypoints=websecure"
- "traefik.http.routers.production_send_web.tls.certresolver=letsencryptresolver"
- "traefik.http.routers.production_send_web.service=production_send_web"
- "traefik.docker.network=traefik"
networks:
- traefik
- default
redis:
image: redis:alpine
networks:
- default
redis:
image: redis
deploy:
replicas: 1
labels:
- traefik.enable=false
volumes:
- /mnt/tank/persist/nixc.us/send/staging/db:/data
networks:
- default
entrypoint: redis-server