Added tasks.md (and fixed an issue in the grist compose file)
This commit is contained in:
		@@ -2,6 +2,10 @@ auth.thesatelliteoflove.com {
 | 
				
			|||||||
    reverse_proxy authentik-server-1:9000
 | 
					    reverse_proxy authentik-server-1:9000
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					tasks.thesatelliteoflove.com {
 | 
				
			||||||
 | 
					    reverse_proxy authentik-server-1:9000
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
git.thesatelliteoflove.com {
 | 
					git.thesatelliteoflove.com {
 | 
				
			||||||
    reverse_proxy gitea:3000
 | 
					    reverse_proxy gitea:3000
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										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
 | 
				
			||||||
@@ -75,3 +75,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
- name: Install grist
 | 
					- name: Install grist
 | 
				
			||||||
  import_tasks: grist.yml
 | 
					  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
 | 
				
			||||||
@@ -7,8 +7,8 @@ services:
 | 
				
			|||||||
      - 'auth.thesatelliteoflove.com:172.20.0.2'
 | 
					      - 'auth.thesatelliteoflove.com:172.20.0.2'
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      - GRIST_SESSION_SECRET={{ grist_session_secret }}
 | 
					      - GRIST_SESSION_SECRET={{ grist_session_secret }}
 | 
				
			||||||
      - APP_HOME_URL="https://grist.thesatelliteoflove.com"
 | 
					      - 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_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_ID={{ grist_oidc_client_id }}
 | 
				
			||||||
      - GRIST_OIDC_IDP_CLIENT_SECRET={{ grist_oidc_client_secret }}
 | 
					      - GRIST_OIDC_IDP_CLIENT_SECRET={{ grist_oidc_client_secret }}
 | 
				
			||||||
    image: gristlabs/grist
 | 
					    image: gristlabs/grist
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user