Update compose schema version number, reorganize command parameter for forwardauth

This commit is contained in:
Joey Hafner 2024-02-15 01:05:11 -08:00
parent a5d2ff38c9
commit 372cf400f9

View File

@ -1,4 +1,4 @@
version: '3.0' version: '3.9'
services: services:
keycloak: keycloak:
@ -41,6 +41,7 @@ services:
aliases: aliases:
- forwardauth - forwardauth
restart: "no" restart: "no"
command: "./traefik-forward-auth"
depends_on: depends_on:
keycloak: keycloak:
condition: service_healthy condition: service_healthy
@ -57,12 +58,12 @@ services:
forwardauth-privileged: forwardauth-privileged:
image: mesosphere/traefik-forward-auth:3.1.0 image: mesosphere/traefik-forward-auth:3.1.0
container_name: keycloak_forwardauth-privileged container_name: keycloak_forwardauth-privileged
command: "./traefik-forward-auth --whitelist=jafner425@gmail.com"
networks: networks:
web: web:
aliases: aliases:
- forwardauth-privileged - forwardauth-privileged
restart: "no" restart: "no"
command: "./traefik-forward-auth --whitelist=jafner425@gmail.com"
depends_on: depends_on:
keycloak: keycloak:
condition: service_healthy condition: service_healthy