generated from coop-cloud/example
Compare commits
2 Commits
3bd4a37b70
...
c0abd0e0b3
Author | SHA1 | Date |
---|---|---|
knoflook | c0abd0e0b3 | |
knoflook | 934d4acd1d |
2
abra.sh
2
abra.sh
|
@ -1,4 +1,4 @@
|
|||
export CUSTOM_ENTRYPOINT_VERSION=v14
|
||||
export OIDC_CONF_VERSION=v1
|
||||
export PAM_EXEC_OAUTH2_YAML_VERSION=v1
|
||||
export PAM_SCRIPT_AUTH_VERSION=v6
|
||||
export PAM_SCRIPT_AUTH_VERSION=v7
|
||||
|
|
|
@ -29,7 +29,7 @@ services:
|
|||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.2.4+4.1.0"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.2.5+4.1.0"
|
||||
entrypoint: /docker-entrypoint.sh
|
||||
command: /init
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ if ! id "$PAM_USER" &>/dev/null; then
|
|||
uid=$(echo "$PAM_USER" | md5sum | grep -Eo "[[:digit:]]{3}" | head -n1 | sed -E 's/^0+//')
|
||||
uid=$((1000+uid))
|
||||
adduser --uid="$uid" "$PAM_USER" --disabled-password --quiet --gecos ""
|
||||
usermod -aG staff "$PAM_USER"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue