Skip to content

zdeveloper/artifactory-ha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Artifactory HA

The easy way to deploy Artifactory HA (multi-node) via docker. This repo make it easier to deploy a postgres db and the primary ha artifactory node and automatically connect the two with correct ha config. it also makes it possible to spin as many secondary nodes as you want to really put the high availability in HA

Requirements

A newer Docker version that supports docker network.

installation

./deploy #script to run a primary artifactory node with one secondary node
# OR
./deploy 5 #script to run a primary artifactory node with 5 secondary nodes

Make sure you change properties.sh.example to properties.sh The properties.sh contains every configuration you might wish to change

Also for self signed certs, Run generate_ssl_certs.sh from inside the ssl folder, it will put the needed certs in the apporperiate locations.

video here

postgres config

the postgres config is in the properties.sh, make sure to at least change your password.

# DB info
DB_CONTAINER=postgres
DB_VOLUME=pgdata
DB_TYPE=postgresql
DB_HOST=$DB_CONTAINER
DB_NAME=artifactory
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD="VERY-STRONG-PASSWORD-HERE"

About

Artifactory HA (multi-node) via docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published