Installation of JFrog Artifactory using Docker Engine...!

Madan Mohan - Oct 15 - - Dev Community
  1. Launch 1 Ec2-Instance with below requirement RAM - 8GB Space - 30 GB Operating System - Amazon Linux Open Ports on EC2 8081 and 8082

  1. Create your Artifactory home directory and an empty system.yaml file. The user creating the folder should be the user running the docker run

“ mkdir -p $JFROG_HOME/artifactory/var/etc/
cd $JFROG_HOME/artifactory/var/etc/
touch ./system.yaml
chown -R 1030:1030 $JFROG_HOME/artifactory/var “

  1. Configure a connection to external database.

“cd /$JFROG_HOME/artifactory/var/etc/ “
“ vi system.yaml “

  1. Configure the system.yaml file with the database configuration details,

shared:
database:
driver: org.postgresql.Driver
type: postgresql
url: jdbc:postgresql://:5432/artifactorydb
username: artifactory
password: password

Once Jfrog console logined and we changed the password after that it will encrypted in system.yaml file

  1. Install postgres sql using docker engine.

“ docker run --name postgres -itd -e POSTGRES_USER=artifactory -e POSTGRES_PASSWORD=password -e POSTGRES_DB=artifactorydb -p 5432:5432 library/postgres “

  1. Start the Artifactory container using the process that is relevant for your system.

“ docker run --name artifactory -v $JFROG_HOME/artifactory/var/:/var/opt/jfrog/artifactory -d -p 8081:8081 -p 8082:8082 releases-docker.jfrog.io/jfrog/artifactory-oss “

  1. Access Artifactory from your browser at: http://SERVER_HOSTNAME:8082/ui/
.
Terabox Video Player