Merge pull request #352 from Jigsaw-Code/fortuna-single-port

Update SS_VERSION
This commit is contained in:
Vinicius Fortuna 2018-12-17 10:45:54 -05:00 committed by GitHub
commit 750fa9c0b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -16,7 +16,7 @@
FROM node:8.11.3-alpine
# Versions can be found at https://github.com/Jigsaw-Code/outline-ss-server/releases
ARG SS_VERSION=1.0.0
ARG SS_VERSION=1.0.2
# Save metadata on the software versions we are using.
LABEL shadowbox.node_version=8.11.3

View file

@ -176,6 +176,11 @@ async function main() {
const accessKeyRepository = new ServerAccessKeyRepository(
portProvider, proxyHostname, accessKeyConfig, shadowsocksServer);
// TODO(fortuna): Once single-port is fully rollout, we should:
// - update `install_server.sh` to stop using `--net=host` for new servers (old servers are stuck
// with that forever) and output new instructions for port configuration.
// - update manger UI to provide new instructions for port configuration in manual mode.
if (createRolloutTracker(serverConfig).isRolloutEnabled('single-port', 0)) {
accessKeyRepository.enableSinglePort();
}