mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-07 17:03:59 +01:00
registry template
This commit is contained in:
parent
1d138afabb
commit
34f8ab714a
0
docker-compose/registry/README.md
Normal file
0
docker-compose/registry/README.md
Normal file
16
docker-compose/registry/docker-compose.yml
Normal file
16
docker-compose/registry/docker-compose.yml
Normal file
@ -0,0 +1,16 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: registry:2
|
||||
container_name: docker-registry
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
REGISTRY_AUTH: htpasswd
|
||||
REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
|
||||
REGISTRY_AUTH_HTPASSWD_REALM: Local Registry Realm
|
||||
ports:
|
||||
- 5000
|
||||
volumes:
|
||||
- ./data:/var/lib/registry
|
||||
- ./auth:/auth:ro
|
Loading…
Reference in New Issue
Block a user