-
Notifications
You must be signed in to change notification settings - Fork 299
/
artifactory-pro.yml
65 lines (65 loc) · 1.62 KB
/
artifactory-pro.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: '3'
services:
postgresql:
image: docker.bintray.io/postgres:9.6.11
container_name: postgresql
ports:
- 5432:5432
environment:
- POSTGRES_DB=artifactory
# The following must match the DB_USER and DB_PASSWORD values passed to Artifactory
- POSTGRES_USER=artifactory
- POSTGRES_PASSWORD=${POSTGRES_PSWRD}
volumes:
- /data/postgresql:/var/lib/postgresql/data
restart: always
ulimits:
nproc: 65535
nofile:
soft: 32000
hard: 40000
artifactory:
image: docker.bintray.io/jfrog/artifactory-pro:6.23.13
container_name: artifactory
ports:
- 8081:8081
depends_on:
- postgresql
links:
- postgresql
volumes:
- /data/artifactory:/var/opt/jfrog/artifactory
environment:
- DB_TYPE=postgresql
# The following must match the POSTGRES_USER and POSTGRES_PASSWORD values passed to PostgreSQL
- DB_USER=artifactory
- DB_PASSWORD=${POSTGRES_PSWRD}
# Add extra Java options by uncommenting the following line
#- EXTRA_JAVA_OPTIONS=-Xms512m -Xmx4g
restart: always
ulimits:
nproc: 65535
nofile:
soft: 32000
hard: 40000
nginx:
image: docker.bintray.io/jfrog/nginx-artifactory-pro:6.23.13
container_name: nginx
ports:
- 80:80
- 443:443
depends_on:
- artifactory
links:
- artifactory
volumes:
- /data/nginx:/var/opt/jfrog/nginx
environment:
- ART_BASE_URL=http://artifactory:8081/artifactory
- SSL=true
restart: always
ulimits:
nproc: 65535
nofile:
soft: 32000
hard: 40000