blob: 7a6e1828b14730db6287e1f40558f4f4ca89b3e8 [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/kalamar.production.conf"
Akron62f16082022-11-21 16:36:58 +010045 target: "/kalamar/kalamar.production.conf"
Akron5c859012022-12-06 11:03:32 +010046 - type: bind
Akron035ec442023-12-13 13:28:29 +010047 source: "${PWD}/data/super_client_info"
Akron80f22522024-09-02 12:35:21 +020048 target: "/kalamar/super_client_info"
Akron62f16082022-11-21 16:36:58 +010049 depends_on:
50 kustvakt-full:
51 condition: service_started
52 full-init:
53 condition: service_completed_successfully
54 profiles:
55 - full
Akron0268a9f2023-02-06 09:50:54 +010056 restart: "unless-stopped"
Akron035ec442023-12-13 13:28:29 +010057 user: root
Akronb03d67b2022-02-02 11:54:53 +010058 kustvakt:
Akron0336ea02022-04-03 21:44:12 +020059 image: "korap/kustvakt:latest"
Akronb03d67b2022-02-02 11:54:53 +010060 expose:
Akron62f16082022-11-21 16:36:58 +010061 - 8089
Akronb03d67b2022-02-02 11:54:53 +010062 volumes:
Marc Kupietz67b47112022-05-29 10:16:26 +020063 - "${INDEX}:/kustvakt/index:z"
Akron62f16082022-11-21 16:36:58 +010064 profiles:
65 - lite
Akron0268a9f2023-02-06 09:50:54 +010066 restart: "unless-stopped"
Akron62f16082022-11-21 16:36:58 +010067 kustvakt-full:
68 image: "korap/kustvakt:latest-full"
69 expose:
70 - 8089
Akron035ec442023-12-13 13:28:29 +010071 user: root
Akron62f16082022-11-21 16:36:58 +010072 volumes:
73 - "${INDEX}:/kustvakt/index:z"
Akron5c859012022-12-06 11:03:32 +010074 - type: bind
Akron035ec442023-12-13 13:28:29 +010075 source: "${PWD}/data/"
76 target: /kustvakt/data/
Akron62f16082022-11-21 16:36:58 +010077 profiles:
78 - full
79 depends_on:
80 full-init:
81 condition: service_completed_successfully
Akron0268a9f2023-02-06 09:50:54 +010082 restart: "unless-stopped"
Akron62f16082022-11-21 16:36:58 +010083configs:
84 super_client_info:
Akron5c859012022-12-06 11:03:32 +010085 external: true