Cardano node in docker - testnet preprod - network –testnet-magic 1 does not exist

Hi all,
I used to run cardano node testnet preprod in docker successfully , here my docker-compose.yml

version: '3.1'

services:
  cardano-node:
    image: inputoutput/cardano-node:1.35.5
    container_name: cardano-node
    volumes:
      - ./cardano-node-ipc:/ipc
      - ./cardano-node-data:/data
      - ./configuration:/configuration
      - ./cardano-wallet:/cardano-wallet
    environment:
      - TZ=Asia/Ho_Chi_Minh
      - CARDANO_NODE_SOCKET_PATH=/ipc/node.socket
      - CARDANO_CLI=/cardano-wallet/cardano-cli
      - DOCKER_CLIENT_TIMEOUT=120
      - COMPOSE_HTTP_TIMEOUT=120
      - NETWORK=--testnet-magic 1
      - HOST-ADDR="0.0.0.0"
    restart: unless-stopped
    networks:
      - cardano-node-net

networks:
  cardano-node-net:
    name: cardano-node-net
    driver: bridge

But now container cannot start and I get error

docker logs -f cardano-node
[Error] Managed configuration for network --testnet-magic 1 does not exist
[Error] Managed configuration for network --testnet-magic 1 does not exist
[Error] Managed configuration for network --testnet-magic 1 does not exist
[Error] Managed configuration for network --testnet-magic 1 does not exist

Please give me some advice, thank you very much.

1 Like