You have to run two "docker-compose up -d":
- One in the network directory
- One in the weewx directory

Can you check you networks with "docker network ls"?
Then maybe you shall adapt the weewx docker-compose with the given name of the 
network
Le 14/04/2020 02:05:10, Zsolt Máté <lopl...@gmail.com> a écrit :
Yes, I did.
networks:

  macvlan_macvlan_network:
    external: true
I renamed the file to docker-compose.yml, as well


On Tuesday, April 14, 2020 at 12:00:04 PM UTC+12, Bruno BORDAS wrote:
Hi, 

Did you specify the network at the end of the docker-compose?
https://github.com/MrNonoss/WeewX-Docker/blob/master/docker-compose0.yml 
[https://github.com/MrNonoss/WeewX-Docker/blob/master/docker-compose0.yml]


networks:
macvlan_macvlan_network:
external: true

Le 14/04/2020 01:13:47, Zsolt Máté <lop...@gmail.com> a écrit :
Hi Bruno.
I'm getting an error while setting up my network.

WARNING: Some networks were defined but are not used by any service: 
macvlan_network
Attaching to

My docker compose looks like this:

version: '2'
networks:
  macvlan_network:
    driver: macvlan
    driver_opts:
      parent: ens18
    ipam:
      config:
        - subnet: 192.168.2.0/24 [http://192.168.2.0/24]
          gateway: 192.168.2.1
          ip_range: 192.168.2.240/28 [http://192.168.2.240/28]

my network interfaces are:
docker@docker:~/weewx/network$ ifconfig -s -a
Iface      MTU    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
docker0   1500    10611      0      0 0         18836      0      0      0 BMRU
ens18     1500   434686      0     67 0         24242      0      0      0 BMRU
lo       65536      190      0      0 0           190      0      0      0 LRU
veth1a31  1500     1299      0      0 0          1680      0      0      0 BMRU

Do you have an idea what am I doing wrong?



On Monday, November 11, 2019 at 7:09:15 AM UTC+13, Bruno BORDAS wrote:
Dear weewx users.
After dozens hours of researches and tries, I'm proud to provide my own docker 
image of weewx.
It runs on Debian stretch, build from sources, with the interceptor driver and 
neowx skin.
I use it with Pihole to grab the data.
Everything (I hope) is written in the repo you can find here: 
https://github.com/MrNonoss/WeewX-Docker 
[https://github.com/MrNonoss/WeewX-Docker]
Feel free to review and comment it.
--
You received this message because you are subscribed to a topic in the Google 
Groups "weewx-user" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/weewx-user/Rr_XyWLONZ4/unsubscribe 
[https://groups.google.com/d/topic/weewx-user/Rr_XyWLONZ4/unsubscribe].
To unsubscribe from this group and all its topics, send an email to 
weewx...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2f63f6cb-5116-4f5c-98c2-d85bf7dc9892%40googlegroups.com
 
[https://groups.google.com/d/msgid/weewx-user/2f63f6cb-5116-4f5c-98c2-d85bf7dc9892%40googlegroups.com?utm_medium=email&amp;utm_source=footer].

--
You received this message because you are subscribed to a topic in the Google 
Groups "weewx-user" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/weewx-user/Rr_XyWLONZ4/unsubscribe 
[https://groups.google.com/d/topic/weewx-user/Rr_XyWLONZ4/unsubscribe].
To unsubscribe from this group and all its topics, send an email to 
weewx-user+unsubscr...@googlegroups.com 
[mailto:weewx-user+unsubscr...@googlegroups.com].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ae038e0b-2e57-4130-9bb0-8bc1314bcf12%40googlegroups.com
 
[https://groups.google.com/d/msgid/weewx-user/ae038e0b-2e57-4130-9bb0-8bc1314bcf12%40googlegroups.com?utm_medium=email&amp;utm_source=footer].

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/Mailbird-040aef08-1431-4b71-be6d-4405b28655a4%40gmail.com.

Reply via email to