mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 06:46:33 +00:00
Update Dockerfile for multi-platform support and enhance nginx registry script with volume and environment variable configurations
This commit is contained in:
Vendored
+4
-1
@@ -1,7 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
apt install -y docker.io apache2-utils certbot python3-certbot-nginx nginx
|
||||
docker run -d -p 5000:5000 --name registry --restart always registry:latest
|
||||
docker run -d -p 5000:5000 --name registry --restart always \
|
||||
-v registry-data:/var/lib/registry \
|
||||
-e REGISTRY_STORAGE_DELETE_ENABLED=true \
|
||||
registry:latest
|
||||
|
||||
# create user for docker auth
|
||||
cd /etc/nginx
|
||||
|
||||
Reference in New Issue
Block a user