-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (31 loc) · 940 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
33 lines (31 loc) · 940 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
services:
salt-master:
image: saltstack/salt:3006.5
container_name: salt-master
ports:
- "4505:4505"
- "4506:4506"
environment:
SALT_MASTER_CONFIG: '{"auto_accept": true}'
volumes:
- $PWD:/workspace
- $PWD/tests/files/salt/nexus3:/srv/salt/nexus3
- $PWD/tests/files/salt/pillar:/srv/pillar
salt-minion:
image: saltstack/salt:3006.5
container_name: salt-minion
environment:
SALT_MINION_CONFIG: '{"id": "test.minion", "master": "salt-master", "nexus3": {"hostname": "http://nexus3:8081", "username": "admin", "password": "${NEXUS_PASSWORD}"}}'
volumes:
- $PWD:/workspace
links:
- salt-master:salt-master
- nexus3:nexus3
nexus3:
image: sonatype/nexus3:latest
container_name: nexus3
ports:
- "8081:8081"
- "5000:5000"
# volumes:
# - $PWD/tests/files/nexus.properties:/nexus-data/etc/nexus.properties