added grist

This commit is contained in:
Phil 2024-08-16 11:14:33 -06:00
parent bff9f62093
commit 35eeeb39e1
4 changed files with 48 additions and 0 deletions

View File

@ -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
}

View 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

View File

@ -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

View 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