Files
koviDockerConfig/composes/docker-compose.home.yml
Linux User 25382829f0 Updates
2022-01-15 13:20:51 +01:00

169 lines
5.1 KiB
YAML

version: '3'
services:
dynuddnskovacs:
image: linuxserver/ddclient
container_name: dynuddnskovacs
restart: unless-stopped
environment:
- PUID=1000 #optional
- PGID=1000 #optional
- TZ=Europe/Budapest
volumes:
- "/mnt/Data/.system/containerdata/dynuddns/kovacsj/config:/config" #optional
networks:
- homenet
cloudflarednskovacs:
image: ghcr.io/linuxserver/ddclient
container_name: cloudflarednskovacs
restart: unless-stopped
environment:
- PUID=1000 #optional
- PGID=1000 #optional
- TZ=Europe/Budapest
volumes:
- "/mnt/Data/.system/containerdata/cloudflaredns/kovijoe/config:/config" #optional
networks:
- homenet
heimdall:
image: linuxserver/heimdall
container_name: heimdall
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Budapest
volumes:
- "/mnt/Data/.system/containerdata/heimdall/config:/config"
labels:
- "traefik.enable=true"
- "traefik.http.routers.heimdall.rule=Host(`heimdall.kovijoe.com`)"
- "traefik.http.routers.heimdall.entrypoints=http"
- "traefik.http.routers.heimdall.middlewares=wlhomelocal@file"
- "traefik.http.routers.heimdall-secure.rule=Host(`heimdall.kovijoe.com`)"
- "traefik.http.routers.heimdall-secure.entrypoints=https"
- "traefik.http.routers.heimdall-secure.middlewares=wlhomelocal@file"
- "traefik.http.routers.heimdall-secure.tls.certresolver=letsencrypt"
networks:
homenet:
aliases:
- heimdall
filestash:
container_name: filestash
image: machines/filestash
restart: always
environment:
- APPLICATION_URL=files.kovijoe.com
#- "APPLICATION_URL=192.168.0.20:8334"
volumes:
- "/mnt/Data/.system/containerdata/filestash/data/:/app/data/state"
ports:
- "8334:8334"
labels:
- "traefik.enable=true"
- "traefik.http.routers.filestash.rule=Host(`files.kovijoe.com`)"
- "traefik.http.routers.filestash.entrypoints=https"
- "traefik.http.routers.filestash.tls.certresolver=letsencrypt"
- "traefik.http.routers.filestash.middlewares=xfwdprotohttps@file"
networks:
homenet:
aliases:
- filestash
onlyoffice:
container_name: onlyoffice
image: onlyoffice/documentserver
stdin_open: true
restart: always
stop_grace_period: 60s
networks:
- homenet
syncthing:
image: syncthing/syncthing:latest
container_name: syncthing
restart: unless-stopped
volumes:
- "/mnt/Data/.system/containerdata/syncthing:/var/syncthing"
- "/mnt/Data/Downloads/Sync/:/data/Sync"
network_mode: host
nginxshared:
image: nginx:latest
container_name: nginxshared
restart: unless-stopped:0
labels:
- "traefik.enable=true"
- "traefik.http.services.nginxshared.loadbalancer.server.port=80"
- "traefik.http.routers.nginxshared-secure.rule=Host(`shared.kovijoe.com`)"
- "traefik.http.routers.nginxshared-secure.entrypoints=https"
- "traefik.http.routers.nginxshared-secure.tls.certresolver=letsencrypt"
volumes:
- "/mnt/Data/www/publicShare:/usr/share/nginx/html"
- "/mnt/Data/.system/containerdata/nginxShared/config/nginx.conf:/etc/nginx/nginx.conf"
networks:
homenet:
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