Külön compose fájlok

This commit is contained in:
2021-01-11 10:54:56 +01:00
parent bae37a3914
commit 4fb0572693
6 changed files with 365 additions and 87 deletions

View File

@@ -0,0 +1,110 @@
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