mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2026-05-04 18:49:49 +02:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3c7126c903 | |||
| fd7efc3c5f |
+3
-3
@@ -141,10 +141,10 @@ COMPOSE_PROJECT_NAME=mailu
|
||||
CREDENTIAL_ROUNDS=12
|
||||
|
||||
# Header to take the real ip from
|
||||
REAL_IP_HEADER=X-Real-IP
|
||||
|
||||
# REAL_IP_HEADER=X-Real-IP
|
||||
REAL_IP_HEADER=X-Forwarded-For
|
||||
# IPs for nginx set_real_ip_from (CIDR list separated by commas)
|
||||
REAL_IP_FROM=192.168.77.101
|
||||
REAL_IP_FROM=172.0.0.0/8
|
||||
|
||||
# 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