Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: docker-compose.yaml validation error #5202

Closed
1 task done
gauravagnihotristla opened this issue Jul 22, 2024 · 5 comments
Closed
1 task done

[bug]: docker-compose.yaml validation error #5202

gauravagnihotristla opened this issue Jul 22, 2024 · 5 comments
Assignees
Labels
🐛bug Something isn't working 🏠self-hosted

Comments

@gauravagnihotristla
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

fails to start
validating /home///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 gauravagnihotristla added the 🐛bug Something isn't working label Jul 22, 2024
@ferdinandkeller
Copy link

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.

@pushya22 pushya22 assigned pablohashescobar and unassigned vihar and pushya22 Jul 23, 2024
@blackat
Copy link

blackat commented Jul 24, 2024

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
Copy link

blackat commented Jul 24, 2024

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.

@mguptahub
Copy link
Collaborator

this has been taken care in PR #5228

@mguptahub
Copy link
Collaborator

This has been resolved and released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working 🏠self-hosted
Projects
None yet
Development

No branches or pull requests

7 participants