mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
feat: Add extensive collection of application blueprints with Docker Compose configurations
This commit is contained in:
19
blueprints/registry/docker-compose.yml
Normal file
19
blueprints/registry/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
registry:
|
||||
restart: always
|
||||
image: registry:2
|
||||
ports:
|
||||
- 5000
|
||||
volumes:
|
||||
- ../files/auth/registry.password:/auth/registry.password
|
||||
- registry-data:/var/lib/registry
|
||||
environment:
|
||||
REGISTRY_STORAGE_DELETE_ENABLED: true
|
||||
REGISTRY_HEALTH_STORAGEDRIVER_ENABLED: false
|
||||
REGISTRY_HTTP_SECRET: ${REGISTRY_HTTP_SECRET}
|
||||
REGISTRY_AUTH: htpasswd
|
||||
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
|
||||
REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password
|
||||
|
||||
volumes:
|
||||
registry-data:
|
||||
BIN
blueprints/registry/registry.png
Normal file
BIN
blueprints/registry/registry.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
18
blueprints/registry/template.yml
Normal file
18
blueprints/registry/template.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
variables:
|
||||
main_domain: ${randomDomain}
|
||||
registry_http_secret: ${password:30}
|
||||
|
||||
config:
|
||||
domains:
|
||||
- serviceName: registry
|
||||
port: 5000
|
||||
host: ${main_domain}
|
||||
|
||||
env:
|
||||
REGISTRY_HTTP_SECRET: ${registry_http_secret}
|
||||
|
||||
mounts:
|
||||
- filePath: /auth/registry.password
|
||||
content: |
|
||||
# from: docker run --rm --entrypoint htpasswd httpd:2 -Bbn docker password
|
||||
docker:$2y$10$qWZoWev/u5PV7WneFoRAMuoGpRcAQOgUuIIdLnU7pJXogrBSY23/2
|
||||
Reference in New Issue
Block a user