antiroachlol/README.md

30 lines
490 B
Markdown
Raw Permalink Normal View History

2019-08-05 16:57:01 -07:00
# antiroachlol
## Building server binary
```
# You need golang...
2020-08-15 15:59:04 -07:00
CGO_ENABLED=0 go build ./...
2019-08-05 16:57:01 -07:00
```
## Building docker
```
2020-08-15 15:59:04 -07:00
docker build -t antiroachlol
2019-08-05 16:57:01 -07:00
docker tag antiroachlol your.docker.endpoint.here/name
docker push your.docker.endpoint.here/name
```
## Building kubernetes
Edit `antiroach.yml` to match the docker name and desired replicas you put above and then apply it
```
kubectl apply -f antiroach.yml
```
2020-08-15 15:59:04 -07:00
## Run with proxy
```
ALL_PROXY=socks5://localhost:1243 ./swarm
```