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. docker build of netdisco (William Bathurst)
--- Begin Message ---
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

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to