diff options
author | Galen Guyer <galen@galenguyer.com> | 2023-03-23 12:07:12 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2023-03-23 12:07:12 -0400 |
commit | 0f4e036b2fb16c09bca45abc353da53aa1dcef80 (patch) | |
tree | 750272edfbb8d7c9c9ddb82e250d15dcaabb24c6 | |
parent | 8e816bf9f76f3a282511201302b20c7fc7bbd289 (diff) |
rename projectmistress
-rw-r--r-- | .dockerignore | 2 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Dockerfile | 4 | ||||
-rw-r--r-- | README.md | 12 | ||||
-rw-r--r-- | docker-compose.yaml | 4 | ||||
-rw-r--r-- | go.mod | 2 |
6 files changed, 14 insertions, 12 deletions
diff --git a/.dockerignore b/.dockerignore index a4cb5fd..5ed0dbc 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,4 @@ .gitignore LICENSE -lolproxy +fsproxy README.md @@ -1 +1 @@ -lolproxy +fsproxy @@ -5,5 +5,5 @@ COPY go.mod go.sum main.go /src/ RUN go build -v FROM alpine -COPY --from=builder /src/lolproxy /lolproxy -ENTRYPOINT [ "/lolproxy", "--host", "0.0.0.0:6969" ] +COPY --from=builder /src/fsproxy /fsproxy +ENTRYPOINT [ "/fsproxy", "--host", "0.0.0.0:6969" ] @@ -1,10 +1,12 @@ -# lolproxy +# fsproxy -"some fuckshit that changes your response codes" +"some fuckshit that changes your response codes" - K5DOC + +it's not a **f**ile **s**ystem proxy, it's a **f**uck**s**hit proxy ## running ``` -Usage of ./lolproxy: +Usage of ./fsproxy: -host string host to bind to (default "localhost:6969") -only404 @@ -12,13 +14,13 @@ Usage of ./lolproxy: -upstream string upstream host to proxy to (required) ``` -example: `./lolproxy --upstream https://example.com` +example: `./fsproxy --upstream https://example.com` ## docker the docker image binds to `0.0.0.0:6969` by default, so you'll need to expose the port (`--port 127.0.0.1:6969:6969`). you'll also need to set the upstream as the command -example: `docker run --rm -it -p 127.0.0.1:6969:6969 docker.io/galenguyer/lolproxy --upstream https://example.com` +example: `docker run --rm -it -p 127.0.0.1:6969:6969 docker.io/galenguyer/fsproxy --upstream https://example.com` ### docker-compose a compose file is also provided for your inconvenience. it can be ran with `docker-compose up --build` diff --git a/docker-compose.yaml b/docker-compose.yaml index 28a341c..6648481 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,8 +1,8 @@ version: "3" services: - lolproxy: - #image: docker.io/galenguyer/lolproxy:latest + fsproxy: + #image: docker.io/galenguyer/fsproxy:latest build: . command: - "--upstream" @@ -1,3 +1,3 @@ -module github.com/galenguyer/lolproxy +module github.com/galenguyer/fsproxy go 1.20 |