mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2026-05-04 12:59:50 +02:00
build
This commit is contained in:
+1
-1
@@ -144,7 +144,7 @@ CREDENTIAL_ROUNDS=12
|
||||
REAL_IP_HEADER=X-Real-IP
|
||||
|
||||
# IPs for nginx set_real_ip_from (CIDR list separated by commas)
|
||||
REAL_IP_FROM=192.168.77.101
|
||||
REAL_IP_FROM=192.168.77.101,192.168.77.106
|
||||
|
||||
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
|
||||
REJECT_UNLISTED_RECIPIENT=
|
||||
|
||||
Executable
+24
@@ -0,0 +1,24 @@
|
||||
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
|
||||
- /share/docker_data/registry/config:/etc/docker/registry/
|
||||
Reference in New Issue
Block a user