Autoupdate with docker compose
Closed this issue · 2 comments
sergius02 commented
Hi! All my containers are created using docker-compose.yml
, and I'm not sure how to add the auto-update label.
I tried this:
labels:
- "DCB-Auto-Update"
labels:
DCB-Auto-Update: 1
labels:
DCB-Auto-Update: "1"
None of them seems to work
dgongut commented
It should be like first one 1️⃣
Example:
services:
web:
image: nginx:latest
ports:
- "8080:80"
labels:
- "DCB-Auto-Update"
db:
image: postgres:latest
environment:
- POSTGRES_PASSWORD=example
labels:
- "DCB-Auto-Update"
sergius02 commented
Oh! I tried again with the first option and... yes, it works!
Maybe I had some mistake, in any case it's solved, thanks for this great bot!