Skip to content

Commit

Permalink
upgrade to irods-docker v4.3.3-wip (#17, #34)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Nov 5, 2024
1 parent 019dc7c commit 628be6f
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# SODAR Docker Compose Changelog

## Unreleased

- Suppress iRODS postgres transaction warnings (#17)
- Upgrade to Postgres v16 (#34)
- Upgrade to ``irods-docker`` v4.3.3-wip (#34)

## v0.15.1-1 (2024-09-12)

- Release for SODAR v0.15.1
Expand Down
7 changes: 4 additions & 3 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@ services:
read_only: true

postgres:
image: postgres:11
image: postgres:16
shm_size: 512mb
environment:
POSTGRES_USER: ${POSTGRES_USERNAME}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: sodar
command: ["postgres", "-c", "log_min_messages=error"]
ports:
- "5432:5432"
networks:
Expand Down Expand Up @@ -107,7 +108,7 @@ services:
target: /etc/traefik/tls
- type: bind # Log files
source: ./volumes/irods/log
target: /var/lib/irods/log
target: /var/log/irods
- type: bind # File storage
source: ./volumes/irods/vault
target: /data/Vault
Expand Down Expand Up @@ -142,7 +143,7 @@ services:
IRODS_ZONE_PORT: 1247
IRODS_ZONE_NAME: sodarZone
IRODS_SSL_VERIFY_SERVER: ${IRODS_SSL_VERIFY_SERVER}
IRODS_AUTHENTICATION_SCHEME: ${IRODS_AUTHENTICATION_SCHEME}
IRODS_AUTHENTICATION_SCHEME: PAM # ${IRODS_AUTHENTICATION_SCHEME} # TODO: Update Davrods to 4.3
IRODS_CLIENT_SERVER_NEGOTIATION: ${IRODS_CLIENT_SERVER_NEGOTIATION}
IRODS_CLIENT_SERVER_POLICY: ${IRODS_CLIENT_SERVER_POLICY}
IRODS_SSL_CA_CERT_PATH: ${IRODS_CERT_PATH}
Expand Down
5 changes: 4 additions & 1 deletion docker-compose.override.yml.irods
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,15 @@ services:
- type: bind # iRODS configuration
source: ./config/irods/etc
target: /etc/irods
- type: bind # iRODS version.json file
source: ./config/irods-lib/version.json
target: /var/lib/irods/version.json
- type: bind # Traefik configuration for shared certs
source: ./config/traefik/tls
target: /etc/traefik/tls
- type: bind # Log files
source: ./volumes/irods/log
target: /var/lib/irods/log
target: /var/log/irods
- type: bind # File storage
source: ./volumes/irods/vault
target: /data/Vault
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,13 @@ services:
read_only: true

postgres:
image: postgres:11
image: postgres:16
shm_size: 512mb
environment:
POSTGRES_USER: ${POSTGRES_USERNAME}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: sodar
command: ["postgres", "-c", "log_min_messages=error"]
networks:
- sodar
restart: unless-stopped
Expand Down
9 changes: 5 additions & 4 deletions env.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ NETWORK_BRIDGE_NAME=br-sodar

# Image versions
# NOTE: For the latest SODAR development build, use "dev-0"
# NOTE: If using the SOPDAR dev build, use the latest dev branch commit of this repository!
SODAR_SERVER_VERSION=0.15.1-0
IRODS_VERSION=4.2.11-1
# NOTE: See the irods-docker repository for valid versions of our iRODS image.
# https://github.com/bihealth/irods-docker/pkgs/container/irods-docker
IRODS_VERSION=4.3.3-wip
SSSD_VERSION=1.16.5-10

# Logging
Expand Down Expand Up @@ -127,7 +128,7 @@ IRODS_PASS=rods
# Path to iRODS server certificate for iRODS client config (optional)
IRODS_CERT_PATH=/etc/traefik/tls/server.crt
# iRODS authentication scheme
IRODS_AUTHENTICATION_SCHEME=PAM
IRODS_AUTHENTICATION_SCHEME=pam_password
# iRODS client SSL verification (set to none if self-signed cert)
IRODS_SSL_VERIFY_SERVER=none
# Secret keys used by iRODS, CHANGE FOR PRODUCTION
Expand All @@ -148,7 +149,7 @@ IRODS_ROOT_PATH=
# Env overrides for backend iRODS connections (optional)
IRODS_ENV_BACKEND=irods_client_server_negotiation=off,irods_client_server_policy=CS_NEG_REFUSE,irods_ssl_verify_server=none,irods_authentication_scheme=native
# Env overrides for iRODS client config in SODAR (optional)
IRODS_ENV_CLIENT=irods_client_server_negotiation=off,irods_client_server_policy=CS_NEG_REFUSE,irods_ssl_verify_server=none,irods_authentication_scheme=PAM
IRODS_ENV_CLIENT=irods_client_server_negotiation=off,irods_client_server_policy=CS_NEG_REFUSE,irods_ssl_verify_server=none,irods_authentication_scheme=pam_password

# Set SSSD auth True if you are using SSSD and PAM
IRODS_SSSD_AUTH=0
Expand Down
6 changes: 3 additions & 3 deletions env.example.dev
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
NETWORK_BRIDGE_NAME=br-sodar-dev

# Image versions
IRODS_VERSION=4.2.11-1
IRODS_VERSION=4.3.3-wip
SSSD_VERSION=1.16.5-10

#
Expand All @@ -22,7 +22,7 @@ IRODS_PASS=rods
# Path to iRODS server certificate for iRODS client config (optional)
IRODS_CERT_PATH=/etc/traefik/tls/server.crt
# iRODS authentication scheme
IRODS_AUTHENTICATION_SCHEME=PAM
IRODS_AUTHENTICATION_SCHEME=pam_password
# iRODS client SSL verification (set to none if self-signed cert)
IRODS_SSL_VERIFY_SERVER=none
# Secret keys used by iRODS, CHANGE FOR PRODUCTION
Expand All @@ -43,7 +43,7 @@ IRODS_ROOT_PATH=
# Env overrides for backend iRODS connections (optional)
IRODS_ENV_BACKEND=irods_client_server_negotiation=off,irods_client_server_policy=CS_NEG_REFUSE,irods_ssl_verify_server=none,irods_authentication_scheme=native
# Env overrides for iRODS client config in SODAR (optional)
IRODS_ENV_CLIENT=irods_client_server_negotiation=off,irods_client_server_policy=CS_NEG_REFUSE,irods_ssl_verify_server=none,irods_authentication_scheme=PAM
IRODS_ENV_CLIENT=irods_client_server_negotiation=off,irods_client_server_policy=CS_NEG_REFUSE,irods_ssl_verify_server=none,irods_authentication_scheme=pam_password

# Set SSSD auth True if you are using SSSD and PAM
IRODS_SSSD_AUTH=0
Expand Down

0 comments on commit 628be6f

Please sign in to comment.