Use private registry for watchtower.
This commit is contained in:
@@ -78,6 +78,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- ./watchtower-config.json:/config.json
|
||||||
environment:
|
environment:
|
||||||
WATCHTOWER_INCLUDE_STOPPED: true
|
WATCHTOWER_INCLUDE_STOPPED: true
|
||||||
WATCHTOWER_MONITOR_ONLY: true
|
WATCHTOWER_MONITOR_ONLY: true
|
||||||
|
|||||||
10
monitoring/watchtower-config.json
Normal file
10
monitoring/watchtower-config.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"auths": {
|
||||||
|
"cs-registry.ddnss.de": {
|
||||||
|
"auth": "Y2hyaXM6U2VjcmV0MTI="
|
||||||
|
},
|
||||||
|
"https://index.docker.io/v1/": {
|
||||||
|
"auth": "Y3MyMjExOkU2U2Njc3ViRFJrYUppMlNMVSUh"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user