Converted Remmina's repo for a Send fork
This commit is contained in:
parent
856f2e4e4a
commit
60070001ae
|
@ -1,7 +1,7 @@
|
|||
version: "3.9"
|
||||
services:
|
||||
remmina:
|
||||
send:
|
||||
build:
|
||||
context: docker/remmina
|
||||
context: docker/send
|
||||
dockerfile: Dockerfile.production
|
||||
image: git.nixc.us/nixius/remmina:production
|
||||
image: git.nixc.us/nixius/send:production
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
version: "3.9"
|
||||
services:
|
||||
remmina:
|
||||
send:
|
||||
build:
|
||||
context: docker/remmina
|
||||
image: git.nixc.us/nixius/remmina:staging
|
||||
context: docker/send
|
||||
image: git.nixc.us/nixius/send:staging
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
# TODO: Deploy a static version of redis maybe for what its worth.
|
|
@ -1 +0,0 @@
|
|||
FROM lscr.io/linuxserver/remmina:latest
|
|
@ -0,0 +1 @@
|
|||
FROM registry.gitlab.com/timvisee/send:latest
|
|
@ -5,7 +5,7 @@ networks:
|
|||
default:
|
||||
services:
|
||||
web:
|
||||
image: registry.gitlab.com/timvisee/send:latest
|
||||
image: git.nixc.us/nixius/send:staging-web
|
||||
depends_on:
|
||||
- redis
|
||||
environment:
|
||||
|
@ -20,17 +20,20 @@ services:
|
|||
DEFAULT_DOWNLOADS: "1"
|
||||
DEFAULT_EXPIRE_SECONDS: "86400"
|
||||
volumes:
|
||||
- /mnt/tank/persist/aenow.com/send/staging/uploads:/uploads
|
||||
- /mnt/tank/persist/nixc.us/send/staging/uploads:/uploads
|
||||
networks:
|
||||
- default
|
||||
- traefik
|
||||
deploy:
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.hostname == macmini8
|
||||
labels:
|
||||
- "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.rule=Host(`send.nixc.us`)"
|
||||
- "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"
|
||||
|
@ -46,6 +49,9 @@ services:
|
|||
image: redis
|
||||
deploy:
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.hostname == macmini8
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
volumes:
|
||||
|
|
|
@ -1,32 +1,55 @@
|
|||
version: '3.7'
|
||||
|
||||
version: "3.7"
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
|
||||
default:
|
||||
services:
|
||||
remmina:
|
||||
image: git.nixc.us/nixius/remmina:staging
|
||||
web:
|
||||
image: git.nixc.us/nixius/send:staging-web
|
||||
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/aenow.com/send/staging/uploads:/uploads
|
||||
networks:
|
||||
- default
|
||||
- traefik
|
||||
deploy:
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.hostname == ingress.nixc.us
|
||||
labels:
|
||||
traefik.docker.network: traefik
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.staging_remmina.entrypoints: websecure
|
||||
traefik.http.routers.staging_remmina.rule: Host(`staging.remmina.nixc.us`)
|
||||
traefik.http.routers.staging_remmina.service: staging_remmina
|
||||
traefik.http.routers.staging_remmina.tls: "true"
|
||||
traefik.http.routers.staging_remmina.tls.certresolver: letsencryptresolver
|
||||
traefik.http.services.staging_remmina.loadbalancer.server.port: '5900'
|
||||
traefik.tags: traefik
|
||||
traefik.http.routers.staging_remmina.middlewares: authelia_authelia@docker
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.staging_send_web.tls=true"
|
||||
- "traefik.http.services.staging_send_web.loadbalancer.server.port=1443"
|
||||
- "traefik.http.routers.staging_send_web.rule=Host(`staging.send.aenow.com`)"
|
||||
- "traefik.http.routers.staging_send_web.entrypoints=websecure"
|
||||
- "traefik.http.routers.staging_send_web.tls.certresolver=letsencryptresolver"
|
||||
- "traefik.http.routers.staging_send_web.service=staging_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
|
Loading…
Reference in New Issue