-
Notifications
You must be signed in to change notification settings - Fork 38
/
docker-compose.yml
69 lines (68 loc) · 1.76 KB
/
docker-compose.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
66
67
68
69
version: "3.5"
services:
jenkins:
container_name: jenkins
image: cloudacademydevops/jenkins:2.414.1-lts-jdk11
networks:
- cloudacademylabs
ports:
- "8080:8080"
environment:
- DOCKER_HOST=tcp://socat:2375
depends_on:
- socat
socat:
container_name: socat
image: socat-ca:latest
#image: alpine/socat:latest
networks:
- cloudacademylabs
command: tcp-listen:2375,fork,reuseaddr unix-connect:/var/run/docker.sock
volumes:
- /var/run/docker.sock:/var/run/docker.sock
expose:
- "2375"
postgres:
container_name: postgres
#image: postgres-ca:latest
#image: postgres:9.6
image: postgres:9.6.11
networks:
- cloudacademylabs
environment:
- POSTGRES_DB=artifactory
# The following must match the DB_USER and DB_PASSWORD values passed to Artifactory
- POSTGRES_USER=artifactory
- POSTGRES_PASSWORD=password
ulimits:
nproc: 65535
nofile:
soft: 32000
hard: 40000
artifactory:
container_name: artifactory
#image: artifactory-ca:latest
#image: docker.bintray.io/jfrog/artifactory-oss:6.5.3
image: docker.bintray.io/jfrog/artifactory-oss:6.23.21
networks:
- cloudacademylabs
ports:
- 8081:8081
environment:
- DB_TYPE=postgresql
- DB_HOST=postgres
# The following must match the POSTGRES_USER and POSTGRES_PASSWORD values passed to PostgreSQL
- DB_USER=artifactory
- DB_PASSWORD=password
# Add extra Java options by uncommenting the following line
#- EXTRA_JAVA_OPTIONS=-Xmx4g
depends_on:
- postgres
ulimits:
nproc: 65535
nofile:
soft: 32000
hard: 40000
networks:
cloudacademylabs:
name: cloudacademylabs