Created
December 30, 2018 18:41
-
-
Save curx/c190b7b6b9ea76f5d7ad46f57d008a01 to your computer and use it in GitHub Desktop.
rancher-service-registry.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # RancherOS | |
| # (docker) container registry as service | |
| registry: | |
| restart: always | |
| image: registry:latest | |
| ports: | |
| - "5000:5000" | |
| volumes: | |
| - /opt/registry-data:/var/lib/registry:rw | |
| environment: | |
| - REGISTRY_LOG_LEVEL=info | |
| - REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/var/lib/registry | |
| - REGISTRY_STORAGE_DELETE_ENABLED=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment