forked from netdisco/netdisco-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (58 loc) · 1.53 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
version: '2.3'
services:
netdisco-postgresql:
image: netdisco/netdisco:latest-postgresql
volumes:
- "./netdisco/pgdata:/var/lib/postgresql/data"
netdisco-backend:
image: netdisco/netdisco:latest-backend
init: true
volumes:
- "./netdisco/nd-site-local:/home/netdisco/nd-site-local"
- "./netdisco/config:/home/netdisco/environments"
- "./netdisco/logs:/home/netdisco/logs"
environment:
NETDISCO_DOMAIN: discover
NETDISCO_DB_HOST: netdisco-postgresql
depends_on:
- netdisco-postgresql
dns_opt:
- 'ndots:0'
- 'timeout:1'
- 'retries:0'
- 'attempts:1'
- edns0
- trustad
netdisco-web:
image: netdisco/netdisco:latest-web
init: true
volumes:
- "./netdisco/nd-site-local:/home/netdisco/nd-site-local"
- "./netdisco/config:/home/netdisco/environments"
environment:
NETDISCO_DOMAIN: discover
NETDISCO_DB_HOST: netdisco-postgresql
IPV: 4
ports:
- "5000:5000"
depends_on:
- netdisco-postgresql
dns_opt:
- 'ndots:0'
- 'timeout:1'
- 'retries:0'
- 'attempts:1'
- edns0
- trustad
netdisco-do:
image: netdisco/netdisco:latest-do
volumes:
- "./netdisco/nd-site-local:/home/netdisco/nd-site-local"
- "./netdisco/config:/home/netdisco/environments"
environment:
NETDISCO_DOMAIN: discover
NETDISCO_DB_HOST: netdisco-postgresql
depends_on:
- netdisco-postgresql
profiles:
- cli-manual