24 lines
		
	
	
		
			711 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			711 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| services:
 | |
|   homepage:
 | |
|     image: ghcr.io/gethomepage/homepage:latest
 | |
|     container_name: homepage
 | |
|     ports:
 | |
|       - "3001:3000"
 | |
|     env_file:
 | |
|       - .env # Make sure this file exists and contains necessary environment variables (chek .env.example)
 | |
|     volumes:
 | |
|       - ${PATH_TO_CONFIG}:/app/config # Make sure your local config directory exists
 | |
|       - /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations
 | |
|     restart: unless-stopped
 | |
|     healthcheck:
 | |
|       test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3000"]
 | |
|       interval: 30s
 | |
|       timeout: 10s
 | |
|       retries: 3
 | |
|     networks:
 | |
|       - homepage-net
 | |
| 
 | |
| networks:
 | |
|   homepage-net:
 | |
|     driver: bridge
 |