mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-07-02 00:08:33 +02:00
25 lines
855 B
YAML
25 lines
855 B
YAML
name: registry
|
|
services:
|
|
registry:
|
|
ports:
|
|
- 5000:5000
|
|
restart: always
|
|
container_name: registry
|
|
image: registry:2
|
|
volumes:
|
|
- '/share/docker_data/registry/auth:/auth'
|
|
# - /share/docker_data/registry/certs:/certs
|
|
- '/share/docker_registry/data:/var/lib/registry'
|
|
environment:
|
|
- 'REGISTRY_STORAGE_DELETE_ENABLED=true'
|
|
- 'REGISTRY_AUTH=htpasswd'
|
|
- 'REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm'
|
|
- 'REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd'
|
|
# - REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt
|
|
# - REGISTRY_HTTP_TLS_KEY=/certs/domain.key
|
|
logging:
|
|
driver: loki
|
|
options:
|
|
loki-url: "http://192.168.77.101:3100/loki/api/v1/push"
|
|
labels:
|
|
wud.watch: false |