-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
67 lines (62 loc) · 1.7 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
63
64
65
66
services:
netdisco-postgresql:
image: netdisco/netdisco:latest-postgresql
hostname: netdisco-postgresql
volumes:
- "./netdisco/pgdata:/var/lib/postgresql/data"
netdisco-backend:
image: netdisco/netdisco:latest-backend
hostname: netdisco-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
hostname: netdisco-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
# use same hostname as backend to satisfy skiplist check (#68)
hostname: netdisco-backend
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