added registry deployment
This commit is contained in:
parent
5873833af6
commit
f30d357f4a
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.env
|
||||||
|
data
|
9
docker-compose.yml
Normal file
9
docker-compose.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
services:
|
||||||
|
registry:
|
||||||
|
image: registry:${REGISTRY_VERSION}
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- ${REGISTRY_PORT}:5000
|
||||||
|
volumes:
|
||||||
|
- ${REGISTRY_DATA}:/var/lib/registry
|
4
example.env
Normal file
4
example.env
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Docker Registry
|
||||||
|
REGISTRY_VERSION=2.8.2
|
||||||
|
REGISTRY_PORT=5000
|
||||||
|
REGISTRY_DATA=./data
|
Loading…
Reference in New Issue
Block a user