plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: docker-compose.yaml validation error

Open gauravagnihotristla opened this issue 1 year ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current behavior

fails to start validating /home/<USERID>//plane-selfhost/plane-app/docker-compose.yaml: services.worker.pull_policy services.worker.pull_policy must be one of the following: "always", "never", "if_not_present", "build", "missing"

Checking log file for Web and Space returns - service 'web'/'space' is not running

Steps to reproduce

Following the installation method from https://docs.plane.so/self-hosting/methods/docker-compose

Environment

Production

Browser

Google Chrome

Variant

Local

Version

v0.22-dev

gauravagnihotristla avatar Jul 22 '24 17:07 gauravagnihotristla

I am getting the same bug. Removing pull_policy from every single line in the docker compose file seems to work as a temporary fix.

ferdinandkeller avatar Jul 23 '24 08:07 ferdinandkeller

Hello, got the same issue with Docker Compose 2.29.0:

# Not working
pull_policy: ${IMAGE_PULL_POLICY:-missing}

# Working
pull_policy: missing

Docker version

Client: Docker Engine - Community Version: 24.0.6 API version: 1.43 Go version: go1.20.7 Git commit: ed223bc Built: Mon Sep 4 12:32:12 2023 OS/Arch: linux/amd64 Context: default

Server: Docker Engine - Community Engine: Version: 24.0.6 API version: 1.43 (minimum version 1.12) Go version: go1.20.7 Git commit: 1a79695 Built: Mon Sep 4 12:32:12 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.24 GitCommit: 61f9fd88f79f081d64d6fa3bb1a0dc71ec870523 runc: Version: 1.1.9 GitCommit: v1.1.9-0-gccaecfc docker-init: Version: 0.19.0 GitCommit: de40ad0

blackat avatar Jul 24 '24 09:07 blackat

Docker Compose version 2.29.1 seems solving the issue. I have updated and values are correctly interpolated now.

It seems a duplicated of the issue 12001, in 2.29.0.

blackat avatar Jul 24 '24 09:07 blackat

this has been taken care in PR #5228

mguptahub avatar Jul 26 '24 04:07 mguptahub

This has been resolved and released.

mguptahub avatar Oct 16 '24 06:10 mguptahub