I'm unable to start the container because of the error "services.dnscrypt.environment contains an invalid type, it should be an object, or an array"
Log file:
-- Logs begin at Thu 2020-08-20 13:01:18 CEST, end at Sun 2020-09-27 23:28:21 CEST. --
Sep 27 23:23:57 raspberrypi systemd[1]: Started Pi-hole DNSCrypt Docker.
Sep 27 23:23:58 raspberrypi docker-compose[8845]: The Compose file './docker-compose.yml' is invalid because:
Sep 27 23:23:58 raspberrypi docker-compose[8845]: services.dnscrypt.environment contains an invalid type, it should be an object, or an array
Sep 27 23:23:58 raspberrypi systemd[1]: pihole-dnscrypt-docker.service: Main process exited, code=exited, status=1/FAILURE
Sep 27 23:23:58 raspberrypi systemd[1]: pihole-dnscrypt-docker.service: Failed with result 'exit-code'.
Sep 27 23:24:32 raspberrypi systemd[1]: Started Pi-hole DNSCrypt Docker.
Sep 27 23:24:33 raspberrypi docker-compose[8867]: The Compose file './docker-compose.yml' is invalid because:
Sep 27 23:24:33 raspberrypi docker-compose[8867]: services.dnscrypt.environment contains an invalid type, it should be an object, or an array
Sep 27 23:24:33 raspberrypi systemd[1]: pihole-dnscrypt-docker.service: Main process exited, code=exited, status=1/FAILURE
Sep 27 23:24:33 raspberrypi systemd[1]: pihole-dnscrypt-docker.service: Failed with result 'exit-code'.
Sep 27 23:26:48 raspberrypi systemd[1]: Started Pi-hole DNSCrypt Docker.
Sep 27 23:26:48 raspberrypi docker-compose[8946]: The Compose file './docker-compose.yml' is invalid because:
Sep 27 23:26:48 raspberrypi docker-compose[8946]: services.dnscrypt.environment contains an invalid type, it should be an object, or an array
Sep 27 23:26:48 raspberrypi systemd[1]: pihole-dnscrypt-docker.service: Main process exited, code=exited, status=1/FAILURE
Sep 27 23:26:48 raspberrypi systemd[1]: pihole-dnscrypt-docker.service: Failed with result 'exit-code'.
Hi all,
I'm unable to start the container because of the error "services.dnscrypt.environment contains an invalid type, it should be an object, or an array"
Log file: -- Logs begin at Thu 2020-08-20 13:01:18 CEST, end at Sun 2020-09-27 23:28:21 CEST. -- Sep 27 23:23:57 raspberrypi systemd[1]: Started Pi-hole DNSCrypt Docker. Sep 27 23:23:58 raspberrypi docker-compose[8845]: The Compose file './docker-compose.yml' is invalid because: Sep 27 23:23:58 raspberrypi docker-compose[8845]: services.dnscrypt.environment contains an invalid type, it should be an object, or an array Sep 27 23:23:58 raspberrypi systemd[1]: pihole-dnscrypt-docker.service: Main process exited, code=exited, status=1/FAILURE Sep 27 23:23:58 raspberrypi systemd[1]: pihole-dnscrypt-docker.service: Failed with result 'exit-code'. Sep 27 23:24:32 raspberrypi systemd[1]: Started Pi-hole DNSCrypt Docker. Sep 27 23:24:33 raspberrypi docker-compose[8867]: The Compose file './docker-compose.yml' is invalid because: Sep 27 23:24:33 raspberrypi docker-compose[8867]: services.dnscrypt.environment contains an invalid type, it should be an object, or an array Sep 27 23:24:33 raspberrypi systemd[1]: pihole-dnscrypt-docker.service: Main process exited, code=exited, status=1/FAILURE Sep 27 23:24:33 raspberrypi systemd[1]: pihole-dnscrypt-docker.service: Failed with result 'exit-code'. Sep 27 23:26:48 raspberrypi systemd[1]: Started Pi-hole DNSCrypt Docker. Sep 27 23:26:48 raspberrypi docker-compose[8946]: The Compose file './docker-compose.yml' is invalid because: Sep 27 23:26:48 raspberrypi docker-compose[8946]: services.dnscrypt.environment contains an invalid type, it should be an object, or an array Sep 27 23:26:48 raspberrypi systemd[1]: pihole-dnscrypt-docker.service: Main process exited, code=exited, status=1/FAILURE Sep 27 23:26:48 raspberrypi systemd[1]: pihole-dnscrypt-docker.service: Failed with result 'exit-code'.
Docker-compose.yml file:
version: "3"
services: dnscrypt: container_name: dnscrypt-proxy image: klutchell/dnscrypt-proxy:latest networks: pihole_net: ipv4_address: 10.0.1.2 expose:
TZ: ''
volumes:
1.1.1.1 restart: unless-stopped
pihole: container_name: pihole image: pihole/pihole:latest networks: pihole_net: ipv4_address: 10.0.1.3 ports:
TZ: ''
WEBPASSWORD: ''
DNS1: "10.0.1.2#5300" DNS2: "no" volumes:
networks: pihole_net: driver: bridge ipam: config: