refactored main code into Program class and consolidated config vars

This commit is contained in:
bj
2021-01-29 15:55:51 +02:00
parent de749526da
commit 0af5811c96
5 changed files with 57 additions and 39 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ services:
- sync1config:/config
- etcd
environment:
- SYNCTHING_HOSTNAME=sync1
- SYNCTHING_PUBLIC_HOST=sync1
networks:
- syncnet
@@ -45,7 +45,7 @@ services:
volumes:
- sync2config:/config
environment:
- SYNCTHING_HOSTNAME=sync2
- SYNCTHING_PUBLIC_HOST=sync2
networks:
- syncnet