On a live environment, we are using nginx:
https://hub.docker.com/r/xalt/nginx/
So to run your application at your own url just run the xalt/nginx as reverse proxy and use the following command:
docker run -d -e -VIRTUAL_HOST=subdomain.domain.tld -e -VIRTUAL_PORT=8081 xalt/artifactory
If you need a persistant file system, please use:
#artifactory with persistant storage
docker run -v ./artifactory:/var/opt/jfrog/artifactory --d -e VIRTUAL_HOST=subdomain.yourdomain.tld -VIRTUAL_PORT=8081 xalt/artifactory
An example to run it in a Docker compose file:
#!shell
version: '3'
services:
artifactory:
environment:
- BACKUP_HOST=example.com
- BACKUP_PATH=/backup/artifactory
- BACKUP_USER=backup
- BACKUP_KEY_FILE=/tmp/id_rsa
- TIME_ZONE=Europe/Berlin
- VIRTUAL_HOST=subdomain.yourdomain.tld
- VIRTUAL_PORT=8081
image: xalt/artifactory
volumes:
- ./artifactory:/var/opt/jfrog/artifactory
- /home/backup/.ssh/id_rsa:/tmp/id_rsa
reverse-proxy:
image: xalt/nginx
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
If you are searching for other Atlassian tools, feel free to checkout our other repositories at https://hub.docker.com/u/xalt/ and https://bitbucket.org/xalt/
If you want to help with our Docker effort, please send us a pull request or just shoot over an email with your Bitbucket account to get rights on this repository.
If you need help using this images or integrating them into your infrastructure / CI process etc., feel free to contact me at [email protected]
Content type
Image
Digest
Size
550.4 MB
Last updated
almost 8 years ago
docker pull vanrienen/artifactory