Skip to content

Commit

Permalink
Stage: remove sbws label, change ports, change user to anond
Browse files Browse the repository at this point in the history
  • Loading branch information
kanshi committed Aug 6, 2024
1 parent a636136 commit 03a1727
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions operations/deploy-stage.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,18 @@ job "sbws-stage" {
}

port "control-port" {
static = 9151
static = 19151
host_network = "wireguard"
}

port "orport" {
static = 9191
static = 19101
}
}

task "sbws-relay-stage-task" {
driver = "docker"

env {
ANON_USER = "root"
}

volume_mount {
volume = "sbws-stage"
destination = "/var/lib/anon"
Expand All @@ -91,13 +87,14 @@ job "sbws-stage" {
template {
change_mode = "noop"
data = <<EOH
User root
User anond
Nickname AnonSBWS
DataDirectory /var/lib/anon/anon-data
ControlPort {{ env `NOMAD_PORT_control_port` }}
CookieAuthentication 1
SocksPort auto
SafeLogging 1
Expand All @@ -117,7 +114,7 @@ ORPort {{ env `NOMAD_PORT_orport` }}

service {
name = "sbws-relay-stage"
tags = ["sbws", "logging"]
tags = ["logging"]
port = "control-port"
}
}
Expand Down

0 comments on commit 03a1727

Please sign in to comment.