-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (45 loc) · 816 Bytes
/
docker-compose.yml
File metadata and controls
51 lines (45 loc) · 816 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: "3.6"
services:
nexus:
image: sonatype/nexus3
ports:
- "8081:8081"
- "5005-5020:5005-5020"
volumes:
- nexus-data:/nexus-data
networks:
local:
ipv4_address: 10.0.0.2
tty: true
stdin_open: true
yumhost:
image: centos
networks:
local:
ipv4_address: 10.0.0.3
tty: true
stdin_open: true
volumes:
- centos-data:/etc/yum.repo.d/
apthost:
image: ubuntu
networks:
local:
ipv4_address: 10.0.0.4
tty: true
stdin_open: true
volumes:
- debain-data:/etc/apt/
networks:
local:
driver: bridge
ipam:
config:
- subnet: 10.0.0.0/24
volumes:
nexus-data:
external: true
centos-data:
external: true
debain-data:
external: true