Compare commits

..

3 Commits

Author SHA1 Message Date
uumas
46c65afd25 v0.1.5 2026-09-22 20:46:40 +03:00
uumas
9bf31e9521 euro_office: Add fonts 2026-09-22 20:44:53 +03:00
uumas
df7662e835 Add Euro-Office role 2026-09-22 04:33:13 +03:00
72 changed files with 50 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ namespace: uumas
name: podman
description: Roles for installing services in podman containers
readme: README.md
version: 0.1.3
version: 0.1.5
repository: "https://git.uumas.fi/uumas/ansible-podman"
license_file: LICENSE
authors:

View File

@@ -0,0 +1 @@
Sets up a Euro Office podman container.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,14 @@
---
argument_specs:
main:
description: Sets up a Euro Office podman container.
options:
euro_office_domains:
description: A list of domains the container should listen on.
type: list
required: true
elements: str
euro_office_jwt_secret:
description: JWT secret, must be at least 32 characters long
type: str
required: true

View File

@@ -0,0 +1,34 @@
---
- name: Euro-Office service
ansible.builtin.import_role:
name: service
vars:
service_name: euro-office
service_container_image: ghcr.io/euro-office/documentserver:latest
service_container_mounts:
- type: volume
source: data
destination: /var/lib/euro-office/documentserver
- type: volume
source: private
destination: /var/www/euro-office/Data
- type: copy
source: fonts/
destination: /usr/share/fonts/custom
service_container_http_port: 80
service_domains: "{{ euro_office_domains }}"
service_database_type: postgres
service_database_secret_type: env
service_database_secret_target: DB_PWD
service_redis: true
service_container_secrets:
- name: jwt
type: env
target: JWT_SECRET
value: "{{ euro_office_jwt_secret }}"
service_container_env:
DB_HOST: postgres
DB_USER: euro_office
DB_NAME: euro_office
DB_PASSWORD__FILE: /run/secrets/postgres
REDIS_SERVER_HOST: redis