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

Docker Watch Support? #632

Open
2 tasks done
ForsakenRei opened this issue Oct 11, 2024 · 0 comments
Open
2 tasks done

Docker Watch Support? #632

ForsakenRei opened this issue Oct 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ForsakenRei
Copy link

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

I'm using docker compose watch https://docs.docker.com/compose/how-tos/file-watch/ to do some development and it seems if I have develop section in my compose file, dockge won't be able to start/restart/stop the container.

👟 Reproduction steps

My compose file

services:
  web:
    build: .
    container_name: my-application
    ports:
      - 8895:80
    develop:
      watch:
        - action: sync
          path: ./app
          target: /var/www/localhost/htdocs/

And try to start/stop the container with dockge

👀 Expected behavior

The container can be started with docker compose up -d so techincally it should be able to start with dockge?

😓 Actual Behavior

Dockge will return error

validating /{mypath}/compose.yaml: service.web Additional property develop is not allowed

### Dockge Version

1.4.2

### 💻 Operating System and Arch

Oracle Linux 9.4

### 🌐 Browser

Chrome 129

### 🐋 Docker Version

Docker 27.3.1

### 🟩 NodeJS Version

20.15.0

### 📝 Relevant log output

_No response_
@ForsakenRei ForsakenRei added the bug Something isn't working label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@ForsakenRei and others