docker-compose file for Artifactory

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

docker-compose file for Artifactory

cmluciano
I am trying to get the Artifactory Pro running using the docker image provided. I cannot seem to get the mounts right. Here is my docker-compose file

artifactory:
  image: jfrog-docker-registry.bintray.io/jfrog/artifactory-pro:4.1.0
  ports:
    - "8081:8081"
  environment:
    ARTIFACTORY_HOME: /var/opt/jfrog/artifactory
  volumes:
    - ./data:$ARTIFACTORY_HOME/data
    - ./logs:$ARTIFACTORY_HOME/logs
    - ./backup:$ARTIFACTORY_HOME/backup
    - ./etc:$ARTIFACTORY_HOME/etc
Reply | Threaded
Open this post in threaded view
|

Re: [#33147] docker-compose file for Artifactory

JFrog Support
Hello Chris,

Thank you for contacting us. It looks like you’re having problems with mounting volumes. There are two ways to mount volumes:

-v <host-folder>:<container-folder> is to expose a particular volume from the host to the container.

-v <host-folder> makes the specified volumes exportable for later use in other containers (e.g an upgrade scenario)

To run Artifactory Pro Registry, execute the following Docker command:
Your command should be the following:
docker run -d --name <container name> -p 80:80 -p 8081:8081 -p 443:443 -p 5000-5002:5000-5002 <volume mounts> jfrog-docker-registry.bintray.io/jfrog/artifactory-registry:<version>

For more information, please follow our Running with Docker guide.

Best regards,
Omar
JFrog Support
 


On Wed, 28 Oct at 8:37 AM , artifactory-users <[hidden email]> wrote:
I am trying to get the Artifactory Pro running using the docker image
provided. I cannot seem to get the mounts right. Here is my docker-compose
file

artifactory:
image: jfrog-docker-registry.bintray.io/jfrog/artifactory-pro:4.1.0
ports:
- "8081:8081"
environment:
ARTIFACTORY_HOME: /var/opt/jfrog/artifactory
volumes:
- ./data:$ARTIFACTORY_HOME/data
- ./logs:$ARTIFACTORY_HOME/logs
- ./backup:$ARTIFACTORY_HOME/backup
- ./etc:$ARTIFACTORY_HOME/etc



--
View this message in context: http://forums.jfrog.org/docker-compose-file-for-Artifactory-tp7580537.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
33147

------------------------------------------------------------------------------

_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Ticket Updated - [#33147] docker-compose file for Artifactory

JFrog Support
In reply to this post by cmluciano

Dear artifactory-users,
We haven’t heard from you about the following conversation in a while.
Should we consider it concluded? Please feel free to reply to this email if you feel this case was not resolved to your satisfaction.

Best Regards,
JFrog Support


33147

------------------------------------------------------------------------------

_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: [#33147] docker-compose file for Artifactory

JFrog Support
In reply to this post by cmluciano
Hi Marek,

You can achieve "Bundle Deploy" by using this REST call. Also, we have our new CLI client (also available here) which allow you to deploy multiple files at the same time. We believe this will reduce the need for "Bundle Deploy" as it is more convenient and requires less system resources. 

Kind Regards,
Eran
JFrog Support


On Thu, 12 Nov at 9:17 AM , artifactory-users <[hidden email]> wrote:
Hi
There is option in gui “Deploy as Bundle Artifact” – see below
We have to implement similar but significantly extended functionality via user plugins
 
Is it possible to implement that functionality only by using only rest api?
Regards
Marek
 
 
 
Marek Cwynar
Bank Zachodni WBK S.A.
Obszar Technologii Informacji
Departament Dostarczania Usług IT
Zespół Zapewniania Jakości Usług IT
 
ul. Strzegomska 8/10, 53-611 Wrocław
Tel (071) 370 3647, tel kom. +48 605 889 633
Warte poznania:
projectavatar
oraz ….
 
 
From: JFrog Support [mailto:[hidden email]]
Sent: Thursday, November 05, 2015 8:07 AM
To: [hidden email]
Subject: [Artifactory-users] Ticket Updated - [#33147] docker-compose file for Artifactory
 
Dear artifactory-users,
We haven’t heard from you about the following conversation in a while.
Should we consider it concluded? Please feel free to reply to this email if you feel this case was not resolved to your satisfaction.
Best Regards,
JFrog Support

***********************************************
Bank Zachodni WBK S.A. z siedziba we Wroclawiu,
ul. Rynek 9/11, 50-950 Wroclaw,
zarejestrowana w Sadzie Rejonowym dla Wroclawia - Fabrycznej we Wroclawiu,
VI Wydzial Gospodarczy Krajowego Rejestru Sadowego pod nr KRS 000008723. NIP: 896 000 56 73
Wysokosc kapitalu zakladowego : 992 345 340 zl.
Wysokosc kapitalu wplaconego: 992 345 340 zl.
***********************************************
**********************************************************************
Wiadomosc ta oraz wszelkie zalaczone do niej pliki sa tajemnica nadawcy i moga byc prawnie chronione.
Jezeli nie jest Pan/Pani zamierzonym adresatem niniejszej wiadomosci, nie moze Pan/Pani jej ujawniac,
kopiowac, dystrybuowac ani tez w zaden inny sposob udostepniac lub wykorzystywac.
O blednym zaadresowaniu wiadomosci prosimy niezwlocznie poinformowac nadawce i usunac wiadomosc.
===========================
This email and any attached files are confidential and may be legally privileged.
If you are not the intended recipient, any disclosure, reproduction, copying, distribution,
or other dissemination or use of this communication is strictly prohibited.
If you have received this transmission in error please notify the sender immediately and then delete this email.
**********************************************************************
 
33147

------------------------------------------------------------------------------

_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: [#33147] docker-compose file for Artifactory

mpettigr
In reply to this post by JFrog Support
NOTE: While this may seem obvious to seasoned Docker users, this information

-v <host-folder>:<container-folder> is to expose a particular volume from the host to the container.

is not available in the Artifactory "running with docker" guide.  Does JFrog recommend the host directory mounting for its artifactory docker containers?