-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-labs.yml
executable file
·45 lines (41 loc) · 1.22 KB
/
docker-labs.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
services:
docker1:
hostname: docker1
container_name: docker1
image: fallewi/datascientest-labs:ubuntu
ports:
- ${UBUNTU1_PORT_SSHD}:22
- ${UBUNTU1_PORT_TTYD}:7681
privileged: true
volumes:
- ${CONFIG}:/config
- ${ANSIBLE_HOME}/shared:/shared
- ${ANSIBLE_HOME}/ubuntu1/ansible:/home/ansible
- ${ANSIBLE_HOME}/ubuntu1/root:/root
networks:
- datascientest-network-docker
docker2:
hostname: docker2
container_name: docker2
image: fallewi/datascientest-labs:ubuntu
ports:
- ${UBUNTU2_PORT_SSHD}:22
- ${UBUNTU2_PORT_TTYD}:7681
privileged: true
volumes:
- ${CONFIG}:/config
- ${ANSIBLE_HOME}/shared:/shared
- ${ANSIBLE_HOME}/ubuntu2/ansible:/home/ansible
- ${ANSIBLE_HOME}/ubuntu2/root:/root
networks:
- datascientest-network-docker
networks:
datascientest-network:
name: datascientest-network
# Canonical bridge interface name
#
# The setting below provides a friendly name for the bridge interface
# as seen in the likes of the ip command. Use at your own discretion
#
#driver_opts:
# com.docker.network.bridge.name: "datascientest-network"