nemoxi
nemoxi

Reputation: 620

Docker Compose : yaml: line 9: did not find expected tag URI

I have a problem that I don't understand at all. Somebody knows how to solve this problem and why it happens?

yaml: line 9: did not find expected tag URI

version: "3.9"

services:
  php:
    build:
      context: ./
      target: ripoty_php
      args:
        SYMFONY_VERSION: ${SYMFONY_VERSION:-}
        SKELETON: ${SKELETON:-symfony/website-skeleton}
        STABILITY: ${STABILITY:-stable}
    restart: unless-stopped
    volumes:
      - php_socket:/var/run/php
    healthcheck:
      interval: 10s
      timeout: 3s
      retries: 3
      start_period: 30s
    environment:
      MERCURE_URL: ${CADDY_MERCURE_URL:-http://caddy/.well-known/mercure}
      MERCURE_PUBLIC_URL: https://${SERVER_NAME:-localhost}/.well-known/mercure
      MERCURE_JWT_SECRET: ${CADDY_MERCURE_JWT_SECRET:-!ChangeMe!}

 ...

volumes:
  php_socket:
  caddy_data:
  caddy_config:

I use Kevin Dunglas' repo: Repository

Upvotes: 2

Views: 996

Answers (1)

ddegasperi
ddegasperi

Reputation: 742

when you change the value of !ChangeMe! with something that don't start with ! it should work.

Best regards, Daniel

Upvotes: 4

Related Questions