Send netdisco-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:
1. Re: docker build of netdisco (Nick Nauwelaerts)
--- Begin Message ---
i'm not a docker guy, but this seems very familiar to
https://github.com/netdisco/netdisco-docker/issues/17
seems somewhere there's some remnants of old containers in your setup.
// nick
From: William Bathurst [mailto:[email protected]]
Sent: Wednesday, June 19, 2019 10:02
To: [email protected]
Subject: [Netdisco] docker build of netdisco
I received the follow errors when running docker-compose up:
netdisco-web_1 | error: cannot find Netdisco config at
/home/netdisco/perl5/lib/perl5/auto/share/dist/App-Netdisco/environments/deployment.yml
or /home/netdisco/environments/deployment.yml
Attempting to create directory /home/netdisco/perl5
netdisco-web_1 | error: cannot find Netdisco config at
/home/netdisco/perl5/lib/perl5/auto/share/dist/App-Netdisco/environments/deployment.yml
I also noted that it isn't mounting volumes in /home/netdisco directories. Are
these supposed to be Docker Bind Volumes?
Also, how would I get it to use localhost instead of docker generated IP. For
example:
Gateway": "172.19.0.1",
"IPAddress": "172.19.0.2"
The following is the software versions I am using:
Docker version 18.09.6, build 481bc77
docker-compose version 1.21.0, build 5920eb0
Ubuntu 18.04.2 LTS
The following steps have been done in advance:
sudo groupadd netdisco -g 901
sudo useradd -u 901 -p x -g netdisco netdisco
mkdir -p netdisco/{logs,config,nd-site-local}
sudo chown -R netdisco:netdisco netdisco
I am using the example docker-compose file:
version: '2.3'
services:
netdisco-postgresql:
image: netdisco/netdisco:latest-postgresql
volumes:
- "./netdisco/pgdata:/var/lib/postgresql/data"
# build:
# context: netdisco-postgresqllib/
# netdisco-base:
# image: netdisco/netdisco:latest-base
# build:
# context: netdisco-base
# scale: 0
netdisco-backend:
image: netdisco/netdisco:latest-backend
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
# build:
# context: netdisco-backend
netdisco-web:
image: netdisco/netdisco:latest-web
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
ports:
- "5000:5000"
depends_on:
- netdisco-postgresql
# build:
# context: netdisco-web
#networks:
# default:
# enable_ipv6: true
________________________________
Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV> |
Twitter<https://twitter.com/aquafinnv> |
YouTube<http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> |
LinkedIN<http://www.linkedin.com/company/aquafin/products> |
Instagram<https://www.instagram.com/aquafin_nv/>
In het kader van de uitoefening van onze taken verzamelen we bij Aquafin
persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten van de
betrokkenen zijn, kan je nalezen in onze privacy
policy<https://www.aquafin.be/nl-be/privacy-policy>.
P Denk aan het milieu. Druk deze mail niet onnodig af.
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users