- Added dev container definitions for billing, crm, repo, observability, projects, security, baas, and jobs modules - Added Zot Registry container definition and configuration
26 lines
681 B
Text
26 lines
681 B
Text
[Unit]
|
|
Description=Zot Registry Container
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Restart=always
|
|
|
|
[Container]
|
|
Image=ghcr.io/project-zot/zot-linux-amd64:latest
|
|
ContainerName=zot
|
|
Pull=always
|
|
# Mount configuration
|
|
Volume=/mnt/data/core/zot/config.json:/etc/zot/config.json:Z
|
|
# Mount storage
|
|
Volume=/mnt/data/registry:/var/lib/registry:Z
|
|
# Network
|
|
Network=web_proxy
|
|
# Traefik Labels
|
|
Label=traefik.enable=true
|
|
Label=traefik.http.routers.zot.rule=Host(`zot-gru.rede5.com.br`)
|
|
Label=traefik.http.routers.zot.entrypoints=websecure
|
|
Label=traefik.http.routers.zot.tls.certresolver=myresolver
|
|
Label=traefik.http.services.zot.loadbalancer.server.port=5000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|