Compare commits

...

2 Commits

Author SHA1 Message Date
5201c967d5 Added tasks.md (and fixed an issue in the grist compose file) 2024-08-16 17:29:38 -06:00
35eeeb39e1 added grist 2024-08-16 11:14:33 -06:00
6 changed files with 98 additions and 0 deletions

View File

@ -2,6 +2,10 @@ auth.thesatelliteoflove.com {
reverse_proxy authentik-server-1:9000
}
tasks.thesatelliteoflove.com {
reverse_proxy authentik-server-1:9000
}
git.thesatelliteoflove.com {
reverse_proxy gitea:3000
}
@ -17,4 +21,8 @@ bookmarks.thesatelliteoflove.com {
social.thesatelliteoflove.com {
reverse_proxy gotosocial:8080
}
grist.thesatelliteoflove.com {
reverse_proxy grist-grist-1:8484
}

View File

@ -0,0 +1,24 @@
version: "3"
services:
tasks.md:
image: baldissaramatheus/tasks.md
container_name: tasksmd
environment:
- PUID=1000
- PGID=1000
volumes:
- tasksmd-data:/tasks
- tasksmd-config:/config
restart: unless-stopped
volumes:
tasksmd-data:
driver: local
tasksmd-config:
driver: local
networks:
default:
external: true
name: lava

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,8 @@
- name: Install gotosocial
import_tasks: gotosocial.yml
- name: Install grist
import_tasks: grist.yml
- name: Install tasksmd
import_tasks: tasksmd.yml

View File

@ -0,0 +1,19 @@
- name: make tasksmd directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/tasksmd
- name: copy tasksmd compose file
ansible.builtin.copy:
src: tasksmd-compose.yml
dest: /opt/stacks/tasksmd/compose.yml
owner: root
mode: 644
- name: deploy tasksmd stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/tasksmd
files:
- compose.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