This commit is contained in:
Linux User
2022-01-15 13:20:51 +01:00
parent 4fb0572693
commit 25382829f0
7 changed files with 135 additions and 3 deletions

View File

@@ -108,3 +108,61 @@ services:
aliases:
- nginxshared
sharedsamba:
image: dperson/samba
environment:
TZ: 'EST5EDT'
container_name: sharedsamba
read_only: true
tmpfs:
- /tmp
restart: unless-stopped
stdin_open: true
tty: true
volumes:
- /mnt/Data/Shared/Vendeg:/mnt/shared
command: '-u "user;VendegJelszo123;1000" -s "Shared;/mnt/shared;yes;no;no;user"'
networks:
homenet:
aliases:
- sharedsamba
sharedfilestash:
container_name: sharedfilestash
image: machines/filestash
ports:
- "9901:9901"
- "10000:8080"
restart: always
environment:
- APPLICATION_URL=sharedup.kovijoe.com
volumes:
- "/mnt/Data/.system/containerdata/sharedfilestash/data/:/app/data/state"
labels:
- "traefik.enable=true"
- "traefik.http.routers.sharedfilestash-secure.rule=Host(`sharedup.kovijoe.com`)"
- "traefik.http.routers.sharedfilestash-secure.entrypoints=https"
- "traefik.http.routers.sharedfilestash-secure.tls.certresolver=letsencrypt"
- "traefik.http.routers.sharedfilestash-secure.middlewares=xfwdprotohttps@file"
#- "traefik.http.services.sharedfilestash.loadbalancer.passhostheader=true"
- "traefik.http.services.sharedfilestash.loadbalancer.server.port=8334"
networks:
homenet:
aliases:
- sharedfilestash
sharedsshfs:
container_name: sharedsshfs
image: atmoz/sftp
restart: always
privileged: true
ports:
- "2222:22"
volumes:
- "/mnt/Data/.system/containerdata/sharedsshfs/config/users.conf:/etc/sftp/users.conf:ro"
- "/mnt/Data/.system/containerdata/sharedsshfs/init-scripts:/etc/sftp.d/"
- /mnt/Data/Shared/Vendeg:/mnt/shared
networks:
homenet:
aliases:
- sharedsshfs