Compare commits

..

2 Commits

Author SHA1 Message Date
Tobias Lehmann
ba8e19014b Merge branch 'main' of https://git.lehmannhaus.de/tobiaslehmann/de.lehmann.automation.ansible.main 2025-01-17 21:35:23 +01:00
Tobias Lehmann
0f68e044a5 add llama playbook and updated nextcloud 2025-01-17 21:35:12 +01:00
5 changed files with 58 additions and 2 deletions

View File

@ -22,3 +22,5 @@ all:
ansible_host: 192.168.110.20
urbackup:
ansible_host: 192.168.110.21
llama01:
ansible_host: 192.168.130.52

View File

@ -0,0 +1,25 @@
#
#
# Automated installation for jellyfin
#
# Project: playbooks
# Author: Tobias Lehmann <tobias.lehmann@captica.de>
# License: MIT License (see LICENSE.md)
#
# Copyright (c) captica GmbH est. 2021
#
- hosts: "llama01"
vars:
tools_install_users:
- ansible
- root
#ollama_models:
# - mistral
# - llama3.3
roles:
- linux-base-install
- zsh
- vim
- fzf
- ollama
- open-webui

View File

@ -49,6 +49,16 @@ roles:
src: git@git.captica.de:captica-automation/de.captica.automation.ansible.role.timescaledb.git
scm: git
version: main
- name: ollama
src: git@git.captica.de:captica-automation/de.captica.automation.ansible.role.ollama.git
scm: git
version: main
- name: open-webui
src: git@git.captica.de:captica-automation/de.captica.automation.ansible.role.open-webui.git
scm: git
version: main
# Collections requirements
collections:

View File

@ -1,11 +1,11 @@
services:
db:
image: timescale/timescaledb:pg16
image: timescale/timescaledb-ha:pg16
restart: always
environment:
- POSTGRES_USER=${DB_USER}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=bankmanager
- POSTGRES_DB=harvester
networks:
- default
volumes:

View File

@ -64,6 +64,25 @@ services:
- db
- redis
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.15.1
container_name: elasticsearch
restart: always
volumes:
- /volumes/nextcloud/elasticsearch/data:/usr/share/elasticsearch/data
ports:
- 9200:9200
environment:
- discovery.type=single-node
- xpack.security.enabled=true
- ELASTIC_PASSWORD=elastic
- cluster.name=elasticsearch
- bootstrap.memory_lock=true
- ES_JAVA_OPTS=-Xms1g -Xmx1g
- xpack.security.http.ssl.enabled=false
networks:
DEFAULT_NETWORK:
networks:
default:
ipam: