-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
71 lines (65 loc) · 1.31 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
70
71
version: '2'
networks:
fmms:
driver: bridge
ipam:
driver: default
config:
-
subnet: 172.16.0.0/24
services:
backend:
restart: always
image: 172.16.0.10:5000/backend:master
# ports:
# - 28080:8080
expose:
- 8080
env_file:
- variables.env
volumes:
- maven:/root/.m2
networks:
fmms:
ipv4_address: 172.16.0.3
frontend:
restart: always
image: 172.16.0.10:5000/frontend:master
command: ["--env=staging", "--no-live-reload", "--no-watch", "--public-host", "modulemanagement.fontysvenlo.org", "--proxy-config", "proxy.json"]
depends_on:
- backend
# ports:
# - 24200:4200
expose:
- 4200
networks:
fmms:
ipv4_address: 172.16.0.2
registry:
restart: always
image: registry:2
expose:
- 5000
volumes:
- registry:/var/lib/registry
networks:
fmms:
ipv4_address: 172.16.0.10
jenkins:
restart: unless-stopped
image: lukeelten/jenkins-docker
ports:
- 127.0.0.1:28080:8080
volumes:
- jenkins:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
networks:
fmms:
ipv4_address: 172.16.0.11
volumes:
maven:
driver: local
jenkins:
driver: local
registry:
driver: local