services: << service_name >>: image: registry:2 container_name: << service_name >> environment: - TZ=<< timezone >> - REGISTRY_STORAGE_DELETE_ENABLED=true volumes: - << appdata_dir >>/<< service_name >>:/var/lib/registry ports: - "<< port >>:5000" restart: unless-stopped