diff --git a/ansible/inventory/group_vars/all.yaml b/ansible/inventory/group_vars/all.yaml index 1011dd9..e476826 100644 --- a/ansible/inventory/group_vars/all.yaml +++ b/ansible/inventory/group_vars/all.yaml @@ -138,6 +138,8 @@ services: ports: http: "9200" subuid: "100999" + manticore: + subuid: "100998" version: packages: @@ -172,3 +174,4 @@ version: paperless: "2.20.13" vikunja: "2.2.2" opencloud: "4.0.4" + manticore: "25.0.0" diff --git a/config/services/containers/app/manticore/manticore.container.j2 b/config/services/containers/app/manticore/manticore.container.j2 new file mode 100644 index 0000000..89912b5 --- /dev/null +++ b/config/services/containers/app/manticore/manticore.container.j2 @@ -0,0 +1,25 @@ +[Quadlet] +DefaultDependencies=false + +[Unit] +Description=Manticore + +[Container] +Image=docker.io/manticoresearch/manticore:{{ version['containers']['manticore'] }} +ContainerName=manticore_{{ manticore_service }} +HostName=manticore_{{ manticore_service }} + +PublishPort={{ services[manticore_service]['ports']['manticore'] }}:9308 + +Volume=%h/data/containers/manticore/{{ manticore_service }}:/var/lib/manticore:rw + +# General +Environment="TZ=Asia/Seoul" + +[Service] +Restart=always +RestartSec=10s +TimeoutStopSec=120 + +[Install] +WantedBy=default.target