added grist
This commit is contained in:
parent
bff9f62093
commit
35eeeb39e1
@ -18,3 +18,7 @@ bookmarks.thesatelliteoflove.com {
|
|||||||
social.thesatelliteoflove.com {
|
social.thesatelliteoflove.com {
|
||||||
reverse_proxy gotosocial:8080
|
reverse_proxy gotosocial:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
|
grist.thesatelliteoflove.com {
|
||||||
|
reverse_proxy grist-grist-1:8484
|
||||||
|
}
|
19
roles/docker/tasks/grist.yml
Normal file
19
roles/docker/tasks/grist.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
- name: make grist directories
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ item}}"
|
||||||
|
state: directory
|
||||||
|
loop:
|
||||||
|
- /opt/stacks/grist
|
||||||
|
|
||||||
|
- name: Template out the compose file
|
||||||
|
ansible.builtin.template:
|
||||||
|
src: grist-compose.yml.j2
|
||||||
|
dest: /opt/stacks/grist/compose.yml
|
||||||
|
owner: root
|
||||||
|
mode: 644
|
||||||
|
|
||||||
|
- name: deploy grist stack
|
||||||
|
community.docker.docker_compose_v2:
|
||||||
|
project_src: /opt/stacks/grist
|
||||||
|
files:
|
||||||
|
- compose.yml
|
@ -73,3 +73,5 @@
|
|||||||
- name: Install gotosocial
|
- name: Install gotosocial
|
||||||
import_tasks: gotosocial.yml
|
import_tasks: gotosocial.yml
|
||||||
|
|
||||||
|
- name: Install grist
|
||||||
|
import_tasks: grist.yml
|
23
roles/docker/templates/grist-compose.yml.j2
Normal file
23
roles/docker/templates/grist-compose.yml.j2
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
version: "3.3"
|
||||||
|
services:
|
||||||
|
grist:
|
||||||
|
volumes:
|
||||||
|
- grist:/persist
|
||||||
|
extra_hosts:
|
||||||
|
- 'auth.thesatelliteoflove.com:172.20.0.2'
|
||||||
|
environment:
|
||||||
|
- GRIST_SESSION_SECRET={{ grist_session_secret }}
|
||||||
|
- APP_HOME_URL="https://grist.thesatelliteoflove.com"
|
||||||
|
- GRIST_OIDC_IDP_ISSUER="https://auth.thesatelliteoflove.com/application/o/grist/.well-known/openid-configuration"
|
||||||
|
- GRIST_OIDC_IDP_CLIENT_ID={{ grist_oidc_client_id }}
|
||||||
|
- GRIST_OIDC_IDP_CLIENT_SECRET={{ grist_oidc_client_secret }}
|
||||||
|
image: gristlabs/grist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
grist:
|
||||||
|
driver: local
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
external: true
|
||||||
|
name: lava
|
Loading…
x
Reference in New Issue
Block a user