-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (57 loc) · 1.25 KB
/
docker-compose.yml
File metadata and controls
64 lines (57 loc) · 1.25 KB
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
version: "3.8"
services:
tmway:
image: miladpav/inventory_generator:latest
container_name: tmway
hostname: tmway
environment:
- "HTTP_PORT=4040"
volumes:
- $PWD/inventory:/inventory
- $PWD/tmway_config:/config
ports:
- "4040:4040"
networks:
- ansible-net
ansible:
image: ansible:pip-4.9.0
container_name: ansible
hostname: ansible
tty: true
build:
context: ./ansible-config
dockerfile: ansible.Dockerfile
volumes:
- $PWD/playbooks:/playbooks
- $PWD/ssh-keys:/ssh-keys
- $PWD/facts:/facts
- $PWD/inventory:/inventory
- $PWD/ansible-config:/etc/ansible
networks:
- ansible-net
cmdb:
image: miladpav/ansible-cmdb:latest
container_name: cmdb
hostname: cmdb
tty: true
volumes:
- $PWD/facts:/facts:ro
- $PWD/overview:/overview
- $PWD/inventory:/inventory
- $PWD/template:/template
networks:
- ansible-net
web-cmdb:
image: nginx:latest
container_name: web-cmdb
hostname: web-cmdb
ports:
- "8090:80"
volumes:
- $PWD/overview:/overview:ro
- $PWD/nginx-conf:/etc/nginx/conf.d
networks:
- ansible-net
networks:
ansible-net:
external: true