Tweaks to proxy config
This commit is contained in:
parent
d506a7250a
commit
9997cdaeaf
@ -25,4 +25,4 @@ COPY --from=build /home/app/bin/faaso-daemon /home/app/bin/faaso /usr/bin/
|
|||||||
RUN mkdir /secrets
|
RUN mkdir /secrets
|
||||||
RUN echo "sarasa" > /secrets/sarlanga
|
RUN echo "sarasa" > /secrets/sarlanga
|
||||||
|
|
||||||
CMD ["/usr/bin/multirun", "faaso-daemon", "tinyproxy -d -c tinyproxy.conf"]
|
CMD ["/usr/bin/multirun", "-v", "faaso-daemon", "tinyproxy -d -c tinyproxy.conf"]
|
||||||
|
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ build: shard.yml $(wildcard src/**/*cr)
|
|||||||
proxy: build
|
proxy: build
|
||||||
docker build . -t faaso-proxy --no-cache
|
docker build . -t faaso-proxy --no-cache
|
||||||
start-proxy:
|
start-proxy:
|
||||||
docker run --network=faaso-net -v /var/run/docker.sock:/var/run/docker.sock -p 8888:8888 faaso-proxy
|
docker run --network=faaso-net -v /var/run/docker.sock:/var/run/docker.sock -v secrets:/home/app/secrets -p 8888:8888 faaso-proxy
|
||||||
|
|
||||||
|
|
||||||
.PHONY: build proxy-image start-proxy
|
.PHONY: build proxy-image start-proxy
|
||||||
|
@ -30,7 +30,8 @@ module Proxy
|
|||||||
funkos.sort!
|
funkos.sort!
|
||||||
|
|
||||||
config = %(
|
config = %(
|
||||||
UserName nobody
|
User nobody
|
||||||
|
Group nogroup
|
||||||
Port 8888
|
Port 8888
|
||||||
Listen 0.0.0.0
|
Listen 0.0.0.0
|
||||||
Timeout 600
|
Timeout 600
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
|
User nobody
|
||||||
UserName nobody
|
Group nogroup
|
||||||
|
LogLevel Info
|
||||||
Port 8888
|
Port 8888
|
||||||
Listen 0.0.0.0
|
Listen 0.0.0.0
|
||||||
Timeout 600
|
Timeout 600
|
||||||
|
Loading…
Reference in New Issue
Block a user