I am changing my server to use SWAG instead nginx which I did configure manually. This is working ok.
I also decided to replace syncthing from distro with LSIO syncthing container.
here is my config for syncthing
---
version: "2.1"
services:
syncthing:
image: lscr.io/linuxserver/syncthing
container_name: syncthing
hostname: skriatok #optional
environment:
- PUID=1000
- PGID=984
- TZ=Europe/Bratislava
volumes:
- /docker_volumes/syncthing/config:/config
- /docker_volumes/syncthing/docs:/docs
- /docker_volumes/syncthing/fotky:/fotky
- /docker_volumes/syncthing/hudba:/hudba
ports:
# - 8384:8384
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
restart: unless-stopped
networks:
default:
name: kontainers
external: true
this is swag
---
version: "2.1"
services:
swag:
image: lscr.io/linuxserver/swag
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=984
- TZ=Europe/Bratislava
- URL=skriatok.duckdns.org
- SUBDOMAINS=wildcard
- VALIDATION=duckdns
- DUCKDNSTOKEN=xxxxxxxxxxxxxx
- DOCKER_MODS=linuxserver/mods:swag-dashboard
volumes:
- /docker_volumes/swag:/config
ports:
- 443:443
- 80:80 #optional
restart: unless-stopped
networks:
default:
name: kontainers
external: true
networks:
sudo docker network ls
NETWORK ID NAME DRIVER SCOPE
0b7fd51b99f1 bridge bridge local
c8d1f8a36481 host host local
162775f03339 kontainers bridge local
49e54078bcf8 none null local
I can access web gui over subdomain.
I did setup folders and files did synced.
everything is working but in logs I see following messages:
[4K5MH] 2023/02/15 08:16:47 INFO: Failed to exchange Hello messages with QZA2RWM-key-xxx-xxx
at 172.18.0.2:22000-192.168.75.152:40484/tcp-server/TLS1.3-TLS_AES_128_GCM_SHA256:
write tcp 172.18.0.2:22000->192.168.75.152:40484: write: connection reset by peer
that makes me unhappy and I did check everything and can’t find solution.
docker network kontainers using this range 172.18.0.1/16
in actual situation syncthing container has 172.18.0.2 and swag has 172.18.0.4
192.168.75.0/24 is my local network and .152 is my laptop
I can log into containers and ping 9.9.9.9 without problems.
thank you for help