Skip to content

Instantly share code, notes, and snippets.

@apr-1985
Last active October 10, 2022 13:35
Show Gist options
  • Save apr-1985/3b9795ec05c54c9c318a5f46420f3cb9 to your computer and use it in GitHub Desktop.
Save apr-1985/3b9795ec05c54c9c318a5f46420f3cb9 to your computer and use it in GitHub Desktop.
medium-3-ways-to-bootstrap-artifactory
remoteRepositories:
docker-remote:
type: docker
url: https://registry-1.docker.io/
repoLayout: simple-default
blockPushingSchema1: false
enableTokenAuthentication: true
retrievalCachePeriodSecs: 7200
username: "DOCKER_USER"
password: "PASSWORD"
unusedArtifactsCleanupPeriodHours: "36"
docker-elastic-remote:
type: docker
url: https://docker.elastic.co/
repoLayout: simple-default
blockPushingSchema1: false
enableTokenAuthentication: true
unusedArtifactsCleanupPeriodHours: "48"
virtualRepositories:
docker-default-virtual:
type: docker
description: "Default Repositories for Docker Virtuals"
dockerApiVersion: V2
repositories:
- docker-remote
- docker-elastic-remote
security:
anonAccessEnabled: true
backups:
backup:
cronExp: "0 0 2 ? * MON-FRI"
retentionPeriodHours: 24
enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment