diff --git a/operations/deploy-live.hcl b/operations/deploy-live.hcl index 708bd11..52dd0df 100644 --- a/operations/deploy-live.hcl +++ b/operations/deploy-live.hcl @@ -6,17 +6,6 @@ job "sbws-live" { group "sbws-live-group" { count = 7 - update { - max_parallel = 1 - health_check = "task_states" - min_healthy_time = "60m" - healthy_deadline = "64m" - progress_deadline = "70m" - auto_revert = true - auto_promote = false - canary = 0 - } - spread { attribute = "${node.unique.id}" weight = 100 @@ -60,8 +49,10 @@ job "sbws-live" { port "http-port" { static = 9277 - to = 80 - # host_network = "wireguard" + } + + port "orport" { + static = 9291 } port "control-port" { @@ -69,18 +60,15 @@ job "sbws-live" { host_network = "wireguard" } - port "orport" { - static = 9291 + port "socks-port" { + static = 9241 + host_network = "wireguard" } } task "sbws-relay-live-task" { driver = "docker" - env { - ANON_USER = "root" - } - volume_mount { volume = "sbws-live" destination = "/var/lib/anon" @@ -96,22 +84,24 @@ job "sbws-live" { } resources { - cpu = 512 + cpu = 2048 memory = 2500 } template { change_mode = "noop" data = <