mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 18:34:53 +01:00
build
This commit is contained in:
0
__swarm/registry/.env
Executable file
0
__swarm/registry/.env
Executable file
23
__swarm/registry/docker-compose.yml
Executable file
23
__swarm/registry/docker-compose.yml
Executable file
@@ -0,0 +1,23 @@
|
||||
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
|
||||
Reference in New Issue
Block a user