Skip to content
Snippets Groups Projects
Commit ea4641b9 authored by Hugo NOUTS's avatar Hugo NOUTS
Browse files

test

parent e4eacd2e
No related branches found
No related tags found
No related merge requests found
Pipeline #54325 passed
...@@ -3,7 +3,7 @@ version: "2.4" ...@@ -3,7 +3,7 @@ version: "2.4"
services: services:
cozy-oauth-proxy: cozy-oauth-proxy:
#image: registry.forge.grandlyon.com/pocs/cozy/cozy-oauth-proxy:latest #image: registry.forge.grandlyon.com/pocs/cozy/cozy-oauth-proxy:latest
image: registry.forge.grandlyon.com/pocs/cozy/cozy-oauth-proxy image: registry.forge.grandlyon.com/pocs/cozy/cozy-oauth-proxy:log-alpha
# image: cozy-oauth-proxy # image: cozy-oauth-proxy
container_name: cozy-oauth-proxy container_name: cozy-oauth-proxy
restart: unless-stopped restart: unless-stopped
...@@ -14,8 +14,8 @@ services: ...@@ -14,8 +14,8 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports:
- 8081:8081 - 8081:8081
logging: # logging:
driver: loki # driver: loki
options: # options:
loki-url: http://localhost:3100/loki/api/v1/push # loki-url: http://localhost:3100/loki/api/v1/push
...@@ -206,6 +206,7 @@ func main() { ...@@ -206,6 +206,7 @@ func main() {
log.Infof("Starting Server on port %d\n", *httpPort) log.Infof("Starting Server on port %d\n", *httpPort)
mux.HandleFunc("/healthcheck", func(w http.ResponseWriter, r *http.Request) { mux.HandleFunc("/healthcheck", func(w http.ResponseWriter, r *http.Request) {
log.Info("WL - healthcheck")
io.WriteString(w, "OK\n") io.WriteString(w, "OK\n")
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment