mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
add artifactory
This commit is contained in:
parent
d0374f309b
commit
6bb55c8112
@ -257,6 +257,7 @@ A collection of delicious docker recipes.
|
||||
|
||||
## 3rd-party
|
||||
|
||||
- [x] docker.bintray.io/jfrog/artifactory-oss
|
||||
- [x] tutum/builder
|
||||
- [x] browserless/chrome
|
||||
- [x] certbot
|
||||
|
7
artifactory/README.md
Normal file
7
artifactory/README.md
Normal file
@ -0,0 +1,7 @@
|
||||
artifactory
|
||||
===========
|
||||
|
||||
[JFrog Artifactory][1] is the only Universal Repository Manager supporting all major
|
||||
packaging formats, build tools and CI servers.
|
||||
|
||||
[1]: https://www.jfrog.com/confluence/display/RTF/Welcome+to+Artifactory
|
35
artifactory/docker-compose.yml
Normal file
35
artifactory/docker-compose.yml
Normal file
@ -0,0 +1,35 @@
|
||||
#
|
||||
# https://www.jfrog.com/confluence/display/RTF/Installing+with+Docker
|
||||
#
|
||||
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
|
||||
postgres:
|
||||
image: postgres:12-alpine
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_DB=artifactory
|
||||
- POSTGRES_USER=artifactory
|
||||
- POSTGRES_PASSWORD=artifactory
|
||||
restart: always
|
||||
|
||||
artifactory:
|
||||
image: docker.bintray.io/jfrog/artifactory-oss:6.13.1
|
||||
ports:
|
||||
- "8081:8081"
|
||||
volumes:
|
||||
- ./data/artifactory:/var/opt/jfrog/artifactory
|
||||
environment:
|
||||
- DB_TYPE=postgresql
|
||||
- DB_HOST=postgres
|
||||
- DB_USER=artifactory
|
||||
- DB_PASSWORD=artifactory
|
||||
- EXTRA_JAVA_OPTIONS=-Xms512m -Xmx2g -Xss256k -XX:+UseG1GC
|
||||
depends_on:
|
||||
- postgres
|
||||
restart: always
|
Loading…
Reference in New Issue
Block a user