Skip to content
Snippets Groups Projects
Commit 57f47006 authored by BITARD Michaël's avatar BITARD Michaël Committed by BITARD Michaël
Browse files

build nginx-proxy and embed proxy.conf

parent 87102d6c
No related branches found
No related tags found
1 merge request!1535feat(infra): déploie le serveur de développement sur les infras ecoCompose de la DINUM
FROM nginxproxy/nginx-proxy:1.6.1
# Utiliser le makefile, mettre à jour la version à la main
COPY proxy.conf /etc/nginx/proxy.conf
......@@ -253,3 +253,9 @@ keycloak/build:
keycloak/push:
docker push caminofr/camino-keycloak:25.0.5
nginx-proxy/build:
docker build -t caminofr/camino-nginx-proxy:1.6.1 -f Dockerfile.nginx-proxy infra/roles/nginx/files/
nginx-proxy/push:
docker push caminofr/camino-nginx-proxy:1.6.1
......@@ -74,8 +74,8 @@ services:
- ui
- keycloak
environment:
# VIRTUAL_HOST: ${OAUTH_HOST}
# VIRTUAL_PORT: ${OAUTH_PORT}
VIRTUAL_HOST: ${OAUTH_HOST}
VIRTUAL_PORT: ${OAUTH_PORT}
OAUTH2_PROXY_PROVIDER: 'keycloak-oidc'
OAUTH2_PROXY_CLIENT_ID: ${KEYCLOAK_CLIENT_ID}
OAUTH2_PROXY_CLIENT_SECRET: ${KEYCLOAK_CLIENT_SECRET}
......@@ -126,7 +126,7 @@ services:
- default
- nginx-proxy
nginx-proxy:
image: nginxproxy/nginx-proxy:1.6.1
image: caminofr/camino-nginx-proxy:1.6.1
container_name: nginx-proxy
restart: unless-stopped
logging:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment