Skip to content

numberinho/syncdockerservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

syncdockerservice

Small Go webserver, listening for docker.hub webhook to update or deploy images.

Caution: Docker-socket is exposed to container, may cause security issues.

Edit config.json for your containers.

Build image:

docker build -t syncdocker:latest .

Run image:

docker run --rm -it -p 3333:3333 -v /var/run/docker.sock:/var/run/docker.sock \
    -e ENV_WEBHOOK_TOKEN="" \
    -e ENV_SERVICESYNC_PORT="3333" \
    -e ENV_USERNAME="" \
    -e ENV_PASSWORD="" \
--platform linux/amd64 --name syncdocker  ligainsider/syncdocker:latest

ENV_PASSWORd: Docker Hub password
ENV_USERNAME: Docker Hub username
ENV_WEBHOOK_TOKEN: Token, specify in docker hub
ENV_SERVICESYNC_PORT: Port for the webserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published