From 856f2e4e4af6ca096f8d10b82427f6bf760885ff Mon Sep 17 00:00:00 2001 From: colin Date: Mon, 18 Mar 2024 18:00:29 +0000 Subject: [PATCH] Update stack.production.yml --- stack.production.yml | 67 +++++++++++++++++++++++++++++--------------- 1 file changed, 44 insertions(+), 23 deletions(-) diff --git a/stack.production.yml b/stack.production.yml index 11ea01b..3868417 100644 --- a/stack.production.yml +++ b/stack.production.yml @@ -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 \ No newline at end of file