blob: 6e54f738af77e9ca62251a326ae0595de3f14b46 [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:
43 - type: bind
Akron035ec442023-12-13 13:28:29 +010044 source: "${PWD}/data/super_client_info"
Akron80f22522024-09-02 12:35:21 +020045 target: "/kalamar/super_client_info"
Akron62f16082022-11-21 16:36:58 +010046 depends_on:
47 kustvakt-full:
48 condition: service_started
49 full-init:
50 condition: service_completed_successfully
51 profiles:
52 - full
Akron0268a9f2023-02-06 09:50:54 +010053 restart: "unless-stopped"
Akron035ec442023-12-13 13:28:29 +010054 user: root
Akronb03d67b2022-02-02 11:54:53 +010055 kustvakt:
Akron0336ea02022-04-03 21:44:12 +020056 image: "korap/kustvakt:latest"
Akronb03d67b2022-02-02 11:54:53 +010057 expose:
Akron62f16082022-11-21 16:36:58 +010058 - 8089
Akronb03d67b2022-02-02 11:54:53 +010059 volumes:
Marc Kupietz67b47112022-05-29 10:16:26 +020060 - "${INDEX}:/kustvakt/index:z"
Akron62f16082022-11-21 16:36:58 +010061 profiles:
62 - lite
Akron0268a9f2023-02-06 09:50:54 +010063 restart: "unless-stopped"
Akron62f16082022-11-21 16:36:58 +010064 kustvakt-full:
65 image: "korap/kustvakt:latest-full"
66 expose:
67 - 8089
Akron035ec442023-12-13 13:28:29 +010068 user: root
Akron62f16082022-11-21 16:36:58 +010069 volumes:
70 - "${INDEX}:/kustvakt/index:z"
Akron5c859012022-12-06 11:03:32 +010071 - type: bind
Akron035ec442023-12-13 13:28:29 +010072 source: "${PWD}/data/"
73 target: /kustvakt/data/
Akron62f16082022-11-21 16:36:58 +010074 profiles:
75 - full
76 depends_on:
77 full-init:
78 condition: service_completed_successfully
Akron0268a9f2023-02-06 09:50:54 +010079 restart: "unless-stopped"
Akron62f16082022-11-21 16:36:58 +010080configs:
81 super_client_info:
Akron5c859012022-12-06 11:03:32 +010082 external: true