Change volumes back to configs, so they can be loaded on runtime (fixes #3)
Change-Id: I4756aa8fa92be9f7913ae15b6c3e0f4f81b1862c
diff --git a/compose.yaml b/compose.yaml
index afa4f07..0bf1673 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -31,9 +31,10 @@
- type: bind
source: "${PWD}/kalamar.production.conf"
target: "/kalamar/kalamar.production.conf"
- - type: bind
- source: "${PWD}/super_client_info"
+ configs:
+ - source: super_client_info
target: /kalamar/super_client_info
+ mode: 0555
depends_on:
kustvakt-full:
condition: service_started
@@ -55,9 +56,10 @@
- 8089
volumes:
- "${INDEX}:/kustvakt/index:z"
- - type: bind
- source: "${PWD}/super_client_info"
+ configs:
+ - source: super_client_info
target: /kustvakt/client/super_client_info
+ mode: 0555
profiles:
- full
depends_on:
@@ -65,4 +67,4 @@
condition: service_completed_successfully
configs:
super_client_info:
- external: true
+ file: ./super_client_info