Docker Compose issues.

Hi all
I am in the process of trying to install immich on a new docker system and I am running into an issue with my docker compose. When i try and run it, I get this message
[sudo] password for aaron:
2023-08-14 14:46:37 [NOTICE]   Creating environment variables for enabled apps. Please be patient, this can take a while.
2023-08-14 14:46:38 [NOTICE]   Adding compose configurations for enabled apps. Please be patient, this can take a while.
validating /home/aaron/.docker/compose/docker-compose.override.yml: services.immich-server.environment must be a mapping
2023-08-14 14:46:38 [FATAL ]   Failed to run compose.
Failing command: docker compose --project-directory /home/aaron/.docker/compose/ up -d --remove-orphan


here is the relevant portions of the compose file:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    command: [ "start.sh", "immich" ]
    environment:
      - DB_HOSTNAME: postgresql-immich
      - DB_USERNAME: pguser-immich
      - DB_PASSWORD: XXXXXXXXXXXXXXXXXXXXXXXXX
      - DB_DATABASE_NAME: pgdb-immich
      - DB_PORT: 5433
      - REDIS_HOSTNAME: redis
      - REDIS_PASSWORD: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
      - TYPESENSE_API_KEY: XXXXXXXXXXXXXXXXXXXXXXXXXXXX
      - TYPESENSE_HOST: typesense
    volumes:
      - ${DOCKERCONFDIR}/immich:/data
      - ${DOCKERSTORAGEDIR}:/storage
    depends_on:
      - redis
      - postgresql-immich
      - typesense
    restart: always

Any idea what I might be missing
Was this page helpful?