add action runner for gita
This commit is contained in:
		@@ -4,6 +4,7 @@
 | 
				
			|||||||
    state: directory
 | 
					    state: directory
 | 
				
			||||||
  loop:
 | 
					  loop:
 | 
				
			||||||
    - /opt/stacks/gitea
 | 
					    - /opt/stacks/gitea
 | 
				
			||||||
 | 
					    - /opt/stacks/gitea/data
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Template out the compose file
 | 
					- name: Template out the compose file
 | 
				
			||||||
  ansible.builtin.template:
 | 
					  ansible.builtin.template:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,6 +22,21 @@ services:
 | 
				
			|||||||
      - 222:22
 | 
					      - 222:22
 | 
				
			||||||
    extra_hosts:
 | 
					    extra_hosts:
 | 
				
			||||||
      - 'auth.thesatelliteoflove.com:172.20.0.5'
 | 
					      - 'auth.thesatelliteoflove.com:172.20.0.5'
 | 
				
			||||||
 | 
					  runner:
 | 
				
			||||||
 | 
					    image: gitea/act_runner:nightly
 | 
				
			||||||
 | 
					    depends_on:
 | 
				
			||||||
 | 
					      - server
 | 
				
			||||||
 | 
					    environment:
 | 
				
			||||||
 | 
					      - CONFIG_FILE=/config.yaml
 | 
				
			||||||
 | 
					      - GITEA_INSTANCE_URL=http://gitea:3000
 | 
				
			||||||
 | 
					      - GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea_runner_key }}
 | 
				
			||||||
 | 
					      - GITEA_RUNNER_NAME=runner_1
 | 
				
			||||||
 | 
					      - GITEA_RUNNER_LABELS=docker
 | 
				
			||||||
 | 
					    volumes:
 | 
				
			||||||
 | 
					      - ./runner-config.yaml:/config.yaml
 | 
				
			||||||
 | 
					      - ./data:/data
 | 
				
			||||||
 | 
					      - /var/run/docker.sock:/var/run/docker.sock
 | 
				
			||||||
 | 
					      - /opt/stacks/caddy/site:/sites
 | 
				
			||||||
volumes:
 | 
					volumes:
 | 
				
			||||||
  gitea:
 | 
					  gitea:
 | 
				
			||||||
    driver: local
 | 
					    driver: local
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user