Compare commits
2 Commits
bff9f62093
...
5201c967d5
Author | SHA1 | Date | |
---|---|---|---|
5201c967d5 | |||
35eeeb39e1 |
@ -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
|
||||
}
|
||||
@ -18,3 +22,7 @@ bookmarks.thesatelliteoflove.com {
|
||||
social.thesatelliteoflove.com {
|
||||
reverse_proxy gotosocial:8080
|
||||
}
|
||||
|
||||
grist.thesatelliteoflove.com {
|
||||
reverse_proxy grist-grist-1:8484
|
||||
}
|
24
roles/docker/files/tasksmd-compose.yml
Normal file
24
roles/docker/files/tasksmd-compose.yml
Normal 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
|
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,8 @@
|
||||
- name: Install gotosocial
|
||||
import_tasks: gotosocial.yml
|
||||
|
||||
- name: Install grist
|
||||
import_tasks: grist.yml
|
||||
|
||||
- name: Install tasksmd
|
||||
import_tasks: tasksmd.yml
|
19
roles/docker/tasks/tasksmd.yml
Normal file
19
roles/docker/tasks/tasksmd.yml
Normal 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
|
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…
Reference in New Issue
Block a user