mirror of
				https://gitlab.sectorq.eu/home/docker-compose.git
				synced 2025-10-31 02:21:10 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			607 B
		
	
	
	
		
			YAML
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			607 B
		
	
	
	
		
			YAML
		
	
	
		
			Executable File
		
	
	
	
	
| name: registry
 | |
| services:
 | |
|   registry:
 | |
|     container_name: registry
 | |
|     environment:
 | |
|     - REGISTRY_STORAGE_DELETE_ENABLED=true
 | |
|     - REGISTRY_AUTH=htpasswd
 | |
|     - REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm
 | |
|     - REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd
 | |
|     image: registry:2
 | |
|     labels:
 | |
|       wud.watch: false
 | |
|       wud.watch.digest: false
 | |
|     logging:
 | |
|       driver: loki
 | |
|       options:
 | |
|         loki-url: http://192.168.77.101:3100/loki/api/v1/push
 | |
|     ports:
 | |
|     - 5000:5000
 | |
|     restart: always
 | |
|     volumes:
 | |
|     - /share/docker_data/registry/auth:/auth
 | |
|     - /share/docker_registry/data:/var/lib/registry
 |