From e2a80e1f33dca973f3eaa0e4dcf97b1d93ded702 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 14 Feb 2019 02:03:32 +0200 Subject: [PATCH] Update notes for 2019-02-14 --- content/posts/2019-02.md | 10 ++++++++++ docs/2019-02/index.html | 13 ++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/content/posts/2019-02.md b/content/posts/2019-02.md index edbad02f2..6e1bb5429 100644 --- a/content/posts/2019-02.md +++ b/content/posts/2019-02.md @@ -604,5 +604,15 @@ $ dspace user --add --givenname Thierry --surname Lewyllie --email blah@cta.int - On this note, I saw a thread on the dspace-tech mailing list that says this functionality exists if you enable `webui.user.assumelogin = true` - I will enable this on CGSpace ([#411](https://github.com/ilri/DSpace/pull/411)) +- Test re-creating my local PostgreSQL and Artifactory containers with podman instead of Docker (using the volumes from my old Docker containers though): + +``` +# podman pull postgres:9.6-alpine +# podman run --name dspacedb -v /home/aorth/.local/lib/containers/volumes/dspacedb_data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres:9.6-alpine +# podman pull docker.bintray.io/jfrog/artifactory-oss +# podman run --name artifactory -d -v /home/aorth/.local/lib/containers/volumes/artifactory5_data:/var/opt/jfrog/artifactory -p 8081:8081 docker.bintray.io/jfrog/artifactory-oss +``` + +- Totally works... awesome! diff --git a/docs/2019-02/index.html b/docs/2019-02/index.html index cfa66cc18..462169932 100644 --- a/docs/2019-02/index.html +++ b/docs/2019-02/index.html @@ -89,7 +89,7 @@ sys 0m1.979s "@type": "BlogPosting", "headline": "February, 2019", "url": "https://alanorth.github.io/cgspace-notes/2019-02/", - "wordCount": "3310", + "wordCount": "3367", "datePublished": "2019-02-01T21:37:30+02:00", "dateModified": "2019-02-13T18:06:47+02:00", "author": { @@ -845,6 +845,17 @@ $ dspace user --add --givenname Thierry --surname Lewyllie --email blah@cta.int + +
# podman pull postgres:9.6-alpine
+# podman run --name dspacedb -v /home/aorth/.local/lib/containers/volumes/dspacedb_data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres:9.6-alpine
+# podman pull docker.bintray.io/jfrog/artifactory-oss
+# podman run --name artifactory -d -v /home/aorth/.local/lib/containers/volumes/artifactory5_data:/var/opt/jfrog/artifactory -p 8081:8081 docker.bintray.io/jfrog/artifactory-oss
+
+ +