blob: 46b318c58bafb731c079e8c06552f4673f8de534 [file] [log] [blame]
Akron48407a42023-10-24 12:37:04 +02001volumes:
2 example-index:
Akronb03d67b2022-02-02 11:54:53 +01003services:
Akron48407a42023-10-24 12:37:04 +02004 examplecontainer:
Akron392bc872024-02-20 15:31:58 +01005 image: "korap/example-index:0.1"
Akron48407a42023-10-24 12:37:04 +02006 profiles:
7 - example
8 volumes:
9 - "example-index:/kustvakt/index"
10 restart: "no"
Akronb03d67b2022-02-02 11:54:53 +010011 kalamar:
Akronf18b5a82024-08-12 10:38:04 +020012 image: "korap/kalamar:latest"
Akronb03d67b2022-02-02 11:54:53 +010013 ports:
14 - "64543:64543"
15 environment:
16 KALAMAR_API: "http://kustvakt:8089/api/"
Akron62f16082022-11-21 16:36:58 +010017 depends_on:
18 - kustvakt
19 profiles:
20 - lite
Akron0268a9f2023-02-06 09:50:54 +010021 restart: "unless-stopped"
Akron62f16082022-11-21 16:36:58 +010022 full-init:
Akronf18b5a82024-08-12 10:38:04 +020023 image: "korap/kalamar:latest"
Akron62f16082022-11-21 16:36:58 +010024 command: super_client_info kalamar /kalamar/data/super_client_info
25 volumes:
26 - type: bind
Akron035ec442023-12-13 13:28:29 +010027 source: "${PWD}/data/"
Akron62f16082022-11-21 16:36:58 +010028 target: "/kalamar/data"
29 profiles:
30 - full
31 - init
32 user: root
Akron0268a9f2023-02-06 09:50:54 +010033 restart: "no"
Akron62f16082022-11-21 16:36:58 +010034 kalamar-full:
Akronf18b5a82024-08-12 10:38:04 +020035 image: "korap/kalamar:latest"
Akron62f16082022-11-21 16:36:58 +010036 ports:
37 - "64543:64543"
38 environment:
39 KALAMAR_API: "http://kustvakt-full:8089/api/"
Akron80f22522024-09-02 12:35:21 +020040 KALAMAR_PLUGINS: "Auth"
41 KALAMAR_CLIENT_FILE: "/kalamar/super_client_info"
Akron62f16082022-11-21 16:36:58 +010042 volumes:
Akronf24a6182024-09-03 17:20:32 +020043 - ${PWD}/data/super_client_info:/kalamar/super_client_info:z
Akron62f16082022-11-21 16:36:58 +010044 depends_on:
45 kustvakt-full:
46 condition: service_started
47 full-init:
48 condition: service_completed_successfully
49 profiles:
50 - full
Akron0268a9f2023-02-06 09:50:54 +010051 restart: "unless-stopped"
Akron035ec442023-12-13 13:28:29 +010052 user: root
Akronb03d67b2022-02-02 11:54:53 +010053 kustvakt:
Akron0336ea02022-04-03 21:44:12 +020054 image: "korap/kustvakt:latest"
Akronb03d67b2022-02-02 11:54:53 +010055 expose:
Akron62f16082022-11-21 16:36:58 +010056 - 8089
Akronb03d67b2022-02-02 11:54:53 +010057 volumes:
Marc Kupietz67b47112022-05-29 10:16:26 +020058 - "${INDEX}:/kustvakt/index:z"
Akron62f16082022-11-21 16:36:58 +010059 profiles:
60 - lite
Akron0268a9f2023-02-06 09:50:54 +010061 restart: "unless-stopped"
Akron62f16082022-11-21 16:36:58 +010062 kustvakt-full:
63 image: "korap/kustvakt:latest-full"
64 expose:
65 - 8089
Akron035ec442023-12-13 13:28:29 +010066 user: root
Akron62f16082022-11-21 16:36:58 +010067 volumes:
68 - "${INDEX}:/kustvakt/index:z"
Akron5c859012022-12-06 11:03:32 +010069 - type: bind
Akron035ec442023-12-13 13:28:29 +010070 source: "${PWD}/data/"
71 target: /kustvakt/data/
Akron62f16082022-11-21 16:36:58 +010072 profiles:
73 - full
74 depends_on:
75 full-init:
76 condition: service_completed_successfully
Akron0268a9f2023-02-06 09:50:54 +010077 restart: "unless-stopped"
Akron62f16082022-11-21 16:36:58 +010078configs:
79 super_client_info:
Akron5c859012022-12-06 11:03:32 +010080 external: true