-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 925 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
35 lines (33 loc) · 925 Bytes
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
version: '3.0'
services:
jenkins:
restart: always
container_name: jenkins
image: xmartlabs/jenkins-android:latest
privileged: true
tty: true
ports:
- "8080:8080"
- "50000:50000"
volumes:
- "./jenkins_home:/var/jenkins_home"
- "/home/noman/Android/Sdk:/opt/android-sdk-linux"
# ref: https://github.com/jfrog/artifactory-docker-examples/blob/master/docker-compose/artifactory/artifactory-oss.yml
# ref: https://www.arvinep.com/2016/04/jenkins-docker-container-problem.html
artifactory:
restart: always
container_name: artifactory
image: docker.bintray.io/jfrog/artifactory-oss:latest
user: "${UID}:${GID}"
privileged: true
tty: true
ports:
- "8081:8081"
- "8082:8082"
volumes:
- "./jforg_home/artifactory:/var/opt/jfrog/artifactory"
ulimits:
nproc: 65535
nofile:
soft: 32000
hard: 40000