Finish moving everything out of compose
This commit is contained in:
		
							parent
							
								
									a258f7ef70
								
							
						
					
					
						commit
						74929a0aa6
					
				
					 1 changed files with 36 additions and 26 deletions
				
			
		|  | @ -191,34 +191,44 @@ | |||
|     ]; | ||||
|   }; | ||||
| 
 | ||||
|   virtualisation.oci-containers.backend = "docker"; | ||||
|   virtualisation.oci-containers.containers = { | ||||
|     dockge = { | ||||
|       image = "louislam/dockge"; | ||||
|       ports = [ | ||||
|         "10.86.84.1:5001:5001" | ||||
|       ]; | ||||
|       volumes = [ | ||||
|         "/var/run/docker.sock:/var/run/docker.sock" | ||||
|         "/opt/stacks/dockge/data:/app/data" | ||||
|         "/root/.docker/:/root/.docker" | ||||
|         "/opt/stacks:/opt/stacks" | ||||
|       ]; | ||||
|       environment = { | ||||
|         DOCKGE_STACKS_DIR = "/opt/stacks"; | ||||
|       }; | ||||
|     }; | ||||
|     dozzle = { | ||||
|       image = "amir20/dozzle:latest"; | ||||
|       ports = [ | ||||
|         "10.86.84.1:9999:8080" | ||||
|       ]; | ||||
|       volumes = [ | ||||
|         "/var/run/docker.sock:/var/run/docker.sock" | ||||
|       ]; | ||||
|     }; | ||||
|   virtualisation.oci-containers.containers.haproxy = { | ||||
|     image = "haproxy:2.6-alpine"; | ||||
|     ports = [ | ||||
|       "80:80" | ||||
|       "443:443" | ||||
|       "8448:8448" | ||||
|       "9980:9980" | ||||
|     ]; | ||||
|     volumes = [ | ||||
|       "/run/secrets/dotspace/pki:/certs" | ||||
|       "/home/lauren_lagarde/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg" | ||||
|     ]; | ||||
|   }; | ||||
| 
 | ||||
|   virtualisation.oci-containers.containers.dnsmasq = { | ||||
|     image = "jpillora/dnsmasq"; | ||||
|     ports = [ | ||||
|       "10.86.84.1:53:53/udp" | ||||
|       "10.86.84.1:5380:8080" | ||||
|     ]; | ||||
|     volumes = [ "/home/lauren_lagarde/dnsmasq.conf:/etc/dnsmasq.conf" ]; | ||||
|     capabilities = { NET_ADMIN = true; }; | ||||
|   }; | ||||
| 
 | ||||
|   virtualisation.oci-containers.containers.httpd = { | ||||
|     image = "httpd:latest"; | ||||
|     ports = [ "10.86.84.1:8080:80" ]; | ||||
|     volumes = [ "/home/lauren_lagarde/httpd/dotspace:/usr/local/apache2/htdocs" ]; | ||||
|   }; | ||||
| 
 | ||||
|   virtualisation.oci-containers.containers.dozzle = { | ||||
|     image = "amir20/dozzle:latest"; | ||||
|     ports = [ "10.86.84.1:9999:8080" ]; | ||||
|     volumes = [ "/var/run/docker.sock:/var/run/docker.sock" ]; | ||||
|   }; | ||||
| 
 | ||||
|   virtualisation.oci-containers.backend = "docker"; | ||||
| 
 | ||||
|   ############################################################################## | ||||
|   ############################################################################## | ||||
|   ############################################################################## | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue