Apply prettier formatting
This commit is contained in:
parent
6b4c4ccde4
commit
c498b3ced8
76 changed files with 123 additions and 202 deletions
|
|
@ -27,8 +27,8 @@ The docker image version to be used in stack creation.
|
|||
subdomain_alias: prm
|
||||
```
|
||||
|
||||
If the deployed container should be served over a uri that is not the stack name.
|
||||
By default, it will be set to `prm.yourdomain.com` (personal relationship manager) -
|
||||
If the deployed container should be served over a uri that is not the stack name.
|
||||
By default, it will be set to `prm.yourdomain.com` (personal relationship manager) -
|
||||
if this option is not set it will be served on `monica.yourdomain.com` instead.
|
||||
|
||||
```
|
||||
|
|
@ -38,14 +38,14 @@ monica_db_password: mymonicadbpassword
|
|||
```
|
||||
|
||||
Set the default username and password combination on first container start.
|
||||
If loading from an existing volume this does nothing, otherwise it sets the
|
||||
If loading from an existing volume this does nothing, otherwise it sets the
|
||||
first user so you can instantly log in.
|
||||
|
||||
```
|
||||
monica_app_disable_signups: true
|
||||
```
|
||||
|
||||
Sets the behavior on the login screen ---
|
||||
Sets the behavior on the login screen ---
|
||||
if set to true (default) will not let anyone but the first user sign up,
|
||||
who automatically becomes an administrative user.
|
||||
If set to false will allow multiple users to sign up on the instance.
|
||||
|
|
@ -57,13 +57,13 @@ monica_app_weather_api_key: <your-darksky-key>
|
|||
|
||||
If `monica_app_geolocation_api_key` is set, Monica will translate addresses
|
||||
input into the app to geographical latitude/ longitude data.
|
||||
It requires an api key from https://locationiq.com/, which are free for
|
||||
It requires an api key from https://locationiq.com/, which are free for
|
||||
10.000 daily requests.
|
||||
|
||||
Similarly, if `monica_app_weather_api_key` is set, monica will (afaik) show
|
||||
weather data for the location of individual contacts.
|
||||
Similarly, if `monica_app_weather_api_key` is set, monica will (afaik) show
|
||||
weather data for the location of individual contacts.
|
||||
It requires an API key from https://darksky.net/dev/register, where
|
||||
1.000 daily requests are free.
|
||||
1.000 daily requests are free.
|
||||
Be aware, however, that since darksky's sale to Apple, no new API signups are possible.
|
||||
To use this feature, `monica_app_geolocation_api_key` must also be filled out.
|
||||
|
||||
|
|
@ -71,8 +71,8 @@ To use this feature, `monica_app_geolocation_api_key` must also be filled out.
|
|||
monica_mail_host: smtp.eu.mailgun.org
|
||||
monica_mail_port: 465
|
||||
monica_mail_encryption: tls
|
||||
monica_mail_username:
|
||||
monica_mail_password:
|
||||
monica_mail_username:
|
||||
monica_mail_password:
|
||||
monica_mail_from: monica@yourserver.com
|
||||
monica_mail_from_name: Monica
|
||||
monica_mail_new_user_notification_address: "{{ caddy_email }}"
|
||||
|
|
@ -81,5 +81,5 @@ monica_mail_new_user_notification_address: "{{ caddy_email }}"
|
|||
Sets up the necessary details for Monica to send out registration and reminder e-mails.
|
||||
Requires an smtp server set up, most easily doable through things like mailgun or sendgrid.
|
||||
Variables should be relatively self-explanatory,
|
||||
with `monica_mail_new_user_notification_address` being the address the notifications should be sent *to*,
|
||||
with `monica_mail_new_user_notification_address` being the address the notifications should be sent _to_,
|
||||
so in all probability some sort of administration address.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
|
||||
monica_version: latest
|
||||
|
||||
monica_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||
|
|
@ -19,8 +18,8 @@ monica_db_password: mymonicadbpassword
|
|||
#monica_app_weather_api_key:
|
||||
|
||||
#monica_mail_host: smtp.eu.mailgun.org
|
||||
#monica_mail_username:
|
||||
#monica_mail_password:
|
||||
#monica_mail_username:
|
||||
#monica_mail_password:
|
||||
monica_mail_port: 465
|
||||
monica_mail_encryption: tls
|
||||
#monica_mail_from: monica@yourserver.com
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
ansible.builtin.file:
|
||||
path: "{{ monica_upstream_file_dir }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
mode: "0755"
|
||||
become: true
|
||||
listen: "update monica upstream"
|
||||
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
community.docker.docker_container_exec:
|
||||
container: "{{ caddy_container_id }}"
|
||||
command: >
|
||||
curl -X POST -H "Content-Type: application/json" -d @{{ monica_upstream_file_dir }}/upstream.json localhost:2019/config/apps/http/servers/{{ (monica_use_https == True) | ternary(caddy_https_server_name, caddy_http_server_name) }}/routes/0/
|
||||
curl -X POST -H "Content-Type: application/json" -d @{{ monica_upstream_file_dir }}/upstream.json localhost:2019/config/apps/http/servers/{{ (monica_use_https == True) | ternary(caddy_https_server_name, caddy_http_server_name) }}/routes/0/
|
||||
become: true
|
||||
listen: "update monica upstream"
|
||||
|
||||
|
|
@ -50,4 +50,3 @@
|
|||
state: absent
|
||||
become: true
|
||||
listen: "update monica upstream"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
|
||||
galaxy_info:
|
||||
author: Marty Oehme
|
||||
description: Installs monica as a docker stack service
|
||||
|
|
@ -7,7 +6,6 @@ galaxy_info:
|
|||
min_ansible_version: "2.9"
|
||||
galaxy_tags: []
|
||||
|
||||
|
||||
dependencies:
|
||||
- docker-swarm
|
||||
- caddy_id
|
||||
|
|
|
|||
|
|
@ -9,4 +9,3 @@
|
|||
- apt
|
||||
- download
|
||||
- packages
|
||||
|
||||
|
|
|
|||
|
|
@ -12,8 +12,7 @@
|
|||
ansible.builtin.shell: echo -n 'base64:'; openssl rand -base64 32
|
||||
register: monica_app_key
|
||||
|
||||
- set_fact:
|
||||
monica_app_key={{ monica_app_key.stdout }}
|
||||
- set_fact: monica_app_key={{ monica_app_key.stdout }}
|
||||
|
||||
## install container
|
||||
- name: Check upstream status
|
||||
|
|
@ -37,4 +36,3 @@
|
|||
tags:
|
||||
- docker-swarm
|
||||
notify: "update monica upstream"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
|
||||
stack_name: monica
|
||||
|
||||
stack_image: "monica"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue