diff --git a/README.md b/README.md index cddd4b4..d9b0a1a 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,7 @@ The list of allowable commodity values is: 15. activemq 16. ibmmq 17. localstack +18. valkey The file may optionally also indicate that one or more services are resource intensive ("expensive") when starting up. The dev env will start those containers seperately - 3 at a time - and wait until each are declared healthy (or crash and get restarted 10 times) before starting any more. @@ -337,6 +338,19 @@ However, if additional configuration (such as new buckets) are necessary before Localstack is available at  within the Docker network, and on the host. +###### Valkey + +[Valkey](https://valkey.io/) is a key-value store forked from Redis. + +There are no fragments needed when using this. Valkey will be available at on the host and inside the Docker network. + +You can monitor Valkey activity using the CLI: + +```shell +bashin redis +redis-cli monitor +``` + #### Other files **`/fragments/custom-provision.sh`** diff --git a/logic.rb b/logic.rb index dd4aa0b..da7d1df 100644 --- a/logic.rb +++ b/logic.rb @@ -75,7 +75,7 @@ # Does a version check and self-update if required if options['self_update'] - this_version = '3.0.0' + this_version = '3.1.0' puts colorize_lightblue("This is a universal dev env (version #{this_version})") # Skip version check if not on master (prevents infinite loops if you're in a branch that isn't up to date with the # latest release code yet) @@ -143,7 +143,7 @@ run_command("mkdir #{DEV_ENV_CONFIG_DIR}") # Create a configuration.yml with an empty services array File.open("#{DEV_ENV_CONFIG_DIR}/configuration.yml", 'w') do |file| - file.write("---\nservices: {}\n") + file.write("---\napplications: {}\n") end puts colorize_green("You can start adding apps to #{DEV_ENV_CONFIG_DIR}/configuration.yml") exit 1 diff --git a/scripts/docker/auth/openldap/Dockerfile b/scripts/docker/auth/openldap/Dockerfile index d19c64e..5e63494 100644 --- a/scripts/docker/auth/openldap/Dockerfile +++ b/scripts/docker/auth/openldap/Dockerfile @@ -1,12 +1,10 @@ -FROM quay.io/lib/debian:10 +FROM quay.io/lib/debian:11 # For some reason some people get hash mismatch issues. This tries to resolve that. # See https://askubuntu.com/questions/1121093/hash-sum-mismatches-in-18-04-on-laptop-and-in-docker RUN printf "Acquire::http::Pipeline-Depth 0;\nAcquire::http::No-Cache true;\nAcquire::BrokenProxy true;" > /etc/apt/apt.conf.d/99fixbadproxy -RUN sed -i -e 's%http://deb.debian.org/debian-security%http://security.debian.org/debian-security%g' /etc/apt/sources.list && \ - sed -i -e 's%http://deb.debian.org/debian%http://ftp.uk.debian.org/debian%g' /etc/apt/sources.list && \ - apt-get update && \ +RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y slapd ldap-utils ldapscripts && \ rm -rf /var/lib/apt/lists/* && \ rm -rf /etc/ldap/schema diff --git a/scripts/docker/valkey/Dockerfile b/scripts/docker/valkey/Dockerfile new file mode 100644 index 0000000..9cc8e7d --- /dev/null +++ b/scripts/docker/valkey/Dockerfile @@ -0,0 +1 @@ +FROM ghcr.io/valkey-io/valkey:8.1 diff --git a/scripts/docker/valkey/compose-fragment.yml b/scripts/docker/valkey/compose-fragment.yml new file mode 100644 index 0000000..7464b04 --- /dev/null +++ b/scripts/docker/valkey/compose-fragment.yml @@ -0,0 +1,6 @@ +services: + valkey: + container_name: valkey + build: ../scripts/docker/valkey/ + ports: + - 6389:6379