Skip to content

TheRightPlace/docker-artifactory-postgres

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Artifactory

Run Artifactory inside a Docker container.

Link: mattgruter/artifactory

Volumes

Artifactories data, logs and backup directories are exported as volumes:

/artifactory/data
/artifactory/logs
/artifactory/backup

Ports

The web server is accessible through port 8080.

Example

To run artifactory do:

docker run -p 8080:8080 mattgruter/artifactory

Now point your browser to http://localhost:8080

URLs

The artifactory servlet is available at the artifactory/ path. However a filter redirects all paths outside of artifactory/ to the artifactory servlet. Thus instead of linking to the URL http://localhost:8080/artifactory/libs-release-local you can just link to http://localhost:8080/libs-release-local (i.e. omitting the subpath artifactory/).

Runtime options

Inject the environment variable RUNTIME_OPTS when starting a container to set Tomcat's runtime options (i.e. CATALANA_OPTS). The most common use case is to set the heap size:

docker run -e RUNTIME_OPTS="-Xms256m -Xmx512m" -P mattgruter/artifactory

About

Run Artifactory in a Docker container

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%