Revert "Change volumes back to configs, so they can be loaded on runtime (fixes #3)"

This reverts commit 157387ac7bba08e7b7d110110fcc8c47958c1c09.

Change-Id: Idfed3e3d01e8f4034fe0d024eb0bb50bf12a768a
diff --git a/Readme.md b/Readme.md
index c278429..1cf109b 100644
--- a/Readme.md
+++ b/Readme.md
@@ -38,10 +38,11 @@
 initialize and start the service with
 
 ```shell
+$ INDEX=./index docker-compose --profile=init up
 $ INDEX=./index docker-compose --profile=full up
 ```
 
-This will generate a file called `super_client_info` in the
+The init step creates a file called `super_client_info` in the
 current directory that acts as a shared secret between the frontend and the backend.
 To enable this in Kalamar, the configuration file `kalamar.production.conf`
 needs to point to the mounted file, so it requires a configuration along the lines of
diff --git a/compose.yaml b/compose.yaml
index 0bf1673..afa4f07 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -31,10 +31,9 @@
       - type: bind
         source: "${PWD}/kalamar.production.conf"
         target: "/kalamar/kalamar.production.conf"
-    configs:
-      - source: super_client_info
+      - type: bind
+        source: "${PWD}/super_client_info"
         target: /kalamar/super_client_info
-        mode: 0555
     depends_on:
       kustvakt-full:
         condition: service_started
@@ -56,10 +55,9 @@
       - 8089
     volumes:
       - "${INDEX}:/kustvakt/index:z"
-    configs:
-      - source: super_client_info
+      - type: bind
+        source: "${PWD}/super_client_info"
         target: /kustvakt/client/super_client_info
-        mode: 0555
     profiles:
       - full
     depends_on:
@@ -67,4 +65,4 @@
         condition: service_completed_successfully
 configs:
   super_client_info:
-    file: ./super_client_info
+    external: true