added photoprism

This commit is contained in:
Tobias Lehmann 2025-07-22 16:56:50 +02:00
parent 1e6f343163
commit 3bd815cd29
2 changed files with 53 additions and 63 deletions

View File

@ -1,63 +0,0 @@
#
#
# Automated installation for bankmanager
#
# Project: playbooks
# Author: Tobias Lehmann <tobias.lehmann@captica.de>
# License: MIT License (see LICENSE.md)
#
# Copyright (c) captica GmbH est. 2021
#
- hosts: "leh01"
name: Create container
vars:
lxc_id: 142
lxc_name: controlmyspa
lxc_domain: leh01.local
lxc_template: "local:vztmpl/debian-12-standard_12.2-1_amd64.tar.zst"
lxc_mac: CC:CC:CC:15:01:42
lxc_bridge: vmbr150
lxc_vlan: ""
lxc_disk: datapool:16
lxc_cpu: 2
lxc_memory: 2048
lxc_swap: 1024
lxc_ssh_pub_key: ~/.ssh/id_ed25519_ansible.pub
roles:
- lxc-container
- hosts: "controlmyspa"
vars:
hostname: controlmyspa
tools_install_users:
- root
- ansible
ssh_pubkeys_root:
- "../files/ssh/root.pub"
ssh_pubkeys_ansible:
- "../files/ssh/id_ed25519_ansible.pub"
roles:
- linux-base-install
- zsh
- vim
- fzf
- linux-docker
- hosts: "controlmyspa"
tags:
- controlmyspa
- install
vars:
service_name: controlmyspa
service_directory: /opt/controlmyspa
service_volume_dirs:
- appdata
- db
service_user_name: controlmyspa
service_user_id: 1020
service_group_name: controlmyspa
service_group_id: 1020
bankmanager_version: latest
tasks:
- name: "Install controlmyspa application"
include_tasks: setup-docker-application.yml

View File

@ -0,0 +1,53 @@
#
#
# Automated installation for photoprism
#
# Project: playbooks
# Author: Tobias Lehmann <tobias.lehmann@captica.de>
# License: MIT License (see LICENSE.md)
#
# Copyright (c) captica GmbH est. 2021
#
- hosts: "leh01"
name: Create container
vars:
lxc_id: 142
lxc_name: photoprism
lxc_domain: leh01.local
lxc_template: "local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst"
lxc_mac: CC:CC:CC:11:01:80
lxc_bridge: vmbr180
lxc_vlan: ""
lxc_disk: datapool:20
lxc_cpu: 8
lxc_memory: 8192
lxc_swap: 8192
lxc_ssh_pub_key: ~/.ssh/id_ed25519_ansible.pub
roles:
- lxc-container
- hosts: "photoprism"
vars:
hostname: photoprism
vars:
photoprism_default_locale: "de"
photoprism_places_locale: "local"
photoprism_site_url: "https://photoprism.lehmannhaus.de/"
photoprism_site_caption: "AI-powered photo library - lehmannhaus.de"
photoprism_site_description: ""
photoprism_site_author: "lehmannhaus.de"
docker_portainer_agent_enabled: true
tools_install_users:
- root
- ansible
ssh_pubkeys_root:
- "../files/ssh/root.pub"
ssh_pubkeys_ansible:
- "../files/ssh/ansible.pub"
roles:
- linux-base-install
- zsh
- vim
- fzf
- linux-docker
- photoprism