added registry deployment

This commit is contained in:
Bryan Joshua Pedini 2023-09-08 10:26:53 +02:00
parent 5873833af6
commit f30d357f4a
3 changed files with 15 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.env
data

9
docker-compose.yml Normal file
View 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
View File

@ -0,0 +1,4 @@
# Docker Registry
REGISTRY_VERSION=2.8.2
REGISTRY_PORT=5000
REGISTRY_DATA=./data