-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (49 loc) · 1.04 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
version: "3.3"
services:
loadbalancer:
image: nginx
volumes:
- ./volumes/templates:/etc/nginx/templates
ports:
- "8080:80"
environment:
- NGINX_HOST=foobar.com
- NGINX_PORT=80
aritmetic-ws:
image: aritmetic
build: ./apps/aritmetic-ms
ports:
- "3000:3000"
db:
image: postgres
volumes:
- ./volumes/db:/var/lib/postgresql/data
ports:
- 5432:5432
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
adminer:
image: adminer
restart: always
ports:
- 4040:8080
registry:
image: registry:2
restart: always
ports:
- 5000:5000
jenkins:
user: root
image: "jenkinsci/blueocean:1.23.1"
ports:
- "7070:8080"
volumes:
- ./volumes/jenkins_home:/var/jenkins_home
- /usr/local/bin/docker:/usr/bin/docker
- /var/run/docker.sock:/var/run/docker.sock
sonarqube:
image: "sonarqube"
ports:
- "9000:9000"