t4skforce / syncthing-relay-discovery Goto Github PK
View Code? Open in Web Editor NEWSyncthing discovery and relay server Docker image for http://syncthing.net/
License: Mozilla Public License 2.0
Syncthing discovery and relay server Docker image for http://syncthing.net/
License: Mozilla Public License 2.0
Hi,
There's a problem with the discovery service:
docker run --name syncthing-relay-discovery -v /path/to/certs:/home/syncthing/certs:ro -d -e POOLS= --restart=always t4skforce/syncthing-relay-discovery:latest
2018-06-19 21:21:36,365 INFO exited: discovery (exit status 2; not expected)
2018-06-19 21:21:36,365 INFO exited: discovery (exit status 2; not expected)
2018-06-19 21:21:39,370 INFO spawned: 'discovery' with pid 28
2018-06-19 21:21:39,370 INFO spawned: 'discovery' with pid 28
flag provided but not defined: -limit-avg
Usage of /home/syncthing/server/discosrv:
-cert string
Certificate file (default "./cert.pem")
-db-dir string
Database directory (default "./discovery.db")
-debug
Print debug output
-http
Listen on HTTP (behind an HTTPS proxy)
-key string
Key file (default "./key.pem")
-listen string
Listen address (default ":8443")
-metrics-listen string
Metrics listen address
-replicate string
Replication peers, id@address, comma separated
-replication-listen string
Replication listen address (default ":19200")
Running this container ends up with this error :
standard_init_linux.go:219: exec user process caused: exec format error
This is due, I guess, to my host which is ARM64 based.
In the docker file :
syncthing-relay-discovery/Dockerfile
Line 45 in c2445bf
amd64 is hard coded...
Not sure how to fix though.
Thanks
I'd be happy to see alpine versions of your syncthing related projects, because Alpine's base image is much much more lightweight and I don't think it lacks anything debian would offer for this usecase.
Thanks for your docker image.
Would you please also consider making the following option configurable?
-ext-address string
An optional address to advertise as being available on.
Allows listening on an unprivileged port with port forwarding from e.g. 443, and be connected to on port 443.
See also: https://docs.syncthing.net/users/strelaysrv.html#running-on-port-443-as-an-unprivileged-user .
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.