10 Commits

Author SHA1 Message Date
3wc
9884f47704 chore: publish 0.3.0+4.3.2 release
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-17 18:24:24 -03:00
73b259327f a couple bits
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-14 09:24:48 -05:00
3wc
bee5f3895a Fix secret name for non-shared deployment
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-11-07 23:17:15 +00:00
c0abd0e0b3 chore: publish 0.2.5+4.1.0 release
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-12 14:57:01 +02:00
934d4acd1d give write access to /usr/local/lib/R/site-library to new users 2023-07-12 14:52:49 +02:00
3bd4a37b70 chore: publish 0.2.4+4.1.0 release
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-12 14:45:08 +02:00
f7167745a5 chore: publish 0.2.3+4.1.0 release
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-12 14:43:05 +02:00
71c2fd8eeb don't break if hashed uid starts with 0
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-12 14:41:46 +02:00
3wc
6a3141446f chore: publish 0.2.2+4.1.0 release
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-11 10:26:56 -04:00
3wc
8f6beea2dc Add --allow-releaseinfo-change to appease debian 2023-04-11 10:26:16 -04:00
6 changed files with 10 additions and 9 deletions

View File

@ -28,7 +28,7 @@ MSSQL_ENABLED="1"
#KEYCLOAK_ENABLED=1
#KEYCLOAK_CLIENT_ID=
#KEYCLOAK_CLIENT_TOKEN_URL=
#SECRET_KEYCLOAK_CLIENT_SECRET=v1
#SECRET_KEYCLOAK_CLIENT_SECRET_VERSION=v1
# Shared secret
#COMPOSE_FILE="$COMPOSE_FILE:compose.keycloak-sharedsecret.yml"

View File

@ -1,4 +1,4 @@
export CUSTOM_ENTRYPOINT_VERSION=v13
export CUSTOM_ENTRYPOINT_VERSION=v15
export OIDC_CONF_VERSION=v1
export PAM_EXEC_OAUTH2_YAML_VERSION=v1
export PAM_SCRIPT_AUTH_VERSION=v4
export PAM_SCRIPT_AUTH_VERSION=v7

View File

@ -32,5 +32,5 @@ configs:
secrets:
keycloak_client_secret:
name: ${STACK_NAME}_keycloak_client_secret_${SECRET_KEYCLOAK_CLIENT_SECRET}
name: ${STACK_NAME}_keycloak_client_secret_${SECRET_KEYCLOAK_CLIENT_SECRET_VERSION}
external: true

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: rocker/tidyverse:4.1.0
image: rocker/tidyverse:4.3.2
networks:
- proxy
volumes:
@ -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.1+4.1.0"
- "coop-cloud.${STACK_NAME}.version=0.3.0+4.3.2"
entrypoint: /docker-entrypoint.sh
command: /init

View File

@ -30,7 +30,7 @@ echo 'auth-openid-base-uri=https://{{ env "DOMAIN" }}' >> /etc/rstudio/rserver.c
{{ end }}
{{ if eq (env "KEYCLOAK_ENABLED") "1" }}
apt update
apt update --allow-releaseinfo-change
apt install -y libpam-script
mkdir -p /opt/pam-exec-oauth2/
wget https://github.com/WASHNote/pam-exec-oauth2/releases/download/v0.0.1/pam-exec-oauth2 -O /opt/pam-exec-oauth2/pam-exec-oauth2
@ -48,7 +48,7 @@ curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
apt update && apt install -yq msodbcsql17 mssql-tools
apt update && apt -o Dpkg::Options::="--force-overwrite" install -yq msodbcsql17 mssql-tools
{{ end }}
locale-gen {{ env "DEFAULT_LOCALES" }}

View File

@ -10,9 +10,10 @@ if ! id "$PAM_USER" &>/dev/null; then
# without it, UID→username mapping changes on every container restart, which
# creates file ownership issues and prevents RStudio from working.
# See https://github.com/WASHNote/washnote-apps/issues/67
uid=$(echo "$PAM_USER" | md5sum | grep -Eo "[[:digit:]]{3}" | head -n1)
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