File tree 5 files changed +9
-10
lines changed
5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 5
5
6
6
env :
7
7
REGISTRY : ghcr.io
8
- IMAGE_NAME : ${{ github.repository }}
8
+ IMAGE_NAME : swarm-keepalived:latest
9
9
10
10
jobs :
11
11
build :
40
40
push : ${{ github.event_name != 'pull_request' }}
41
41
tags : ${{ steps.meta.outputs.tags }}
42
42
labels : ${{ steps.meta.outputs.labels }}
43
-
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ docker run -d --restart=always \
43
43
-e KEEPALIVED_VIRTUAL_IPADDRESS=" 192.168.100.254, 192.168.10.254" \
44
44
-e KEEPALIVED_PRIORITY=" 200" \
45
45
-e KEEPALIVED_INTERFACE=" eth0" \
46
- rootshellcoder /swarm-keepalived:latest
46
+ ghcr.io/rootshell-coder /swarm-keepalived:latest
47
47
```
48
48
49
49
docker master log (codespace)
@@ -94,7 +94,7 @@ docker run -d --restart=always \
94
94
-e KEEPALIVED_VIRTUAL_IPADDRESS=" 192.168.100.254, 192.168.10.254" \
95
95
-e KEEPALIVED_PRIORITY=" 100" \
96
96
-e KEEPALIVED_INTERFACE=" eth0" \
97
- rootshellcoder /swarm-keepalived:latest
97
+ ghcr.io/rootshell-coder /swarm-keepalived:latest
98
98
```
99
99
100
100
### backup 1
@@ -111,7 +111,7 @@ docker run -d --restart=always \
111
111
-e KEEPALIVED_VIRTUAL_IPADDRESS=" 192.168.100.254" \
112
112
-e KEEPALIVED_PRIORITY=" 50" \
113
113
-e KEEPALIVED_INTERFACE=" enp3s0" \
114
- rootshellcoder /swarm-keepalived:latest
114
+ ghcr.io/rootshell-coder /swarm-keepalived:latest
115
115
```
116
116
117
117
## Variables
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: '3.9'
3
3
4
4
services :
5
5
master :
6
- image : rootshellcoder /swarm-keepalived:latest
6
+ image : ghcr.io/rootshell-coder /swarm-keepalived:latest
7
7
environment :
8
8
KEEPALIVED_UNICAST_SRC_IP : " 172.16.5.4"
9
9
KEEPALIVED_UNICAST_PEER : " 172.16.5.5, 172.16.5.6"
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ docker-compose.yml
49
49
---
50
50
services :
51
51
master :
52
- image : keepalived:latest
52
+ image : ghcr.io/rootshell-coder/swarm- keepalived:latest
53
53
environment :
54
54
DAFAULT_GATEWAY : " 108.177.16.1"
55
55
KEEPALIVED_UNICAST_SRC_IP : " 192.168.10.2"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ networks:
8
8
9
9
services :
10
10
master :
11
- image : rootshellcoder /swarm-keepalived:latest
11
+ image : ghcr.io/rootshell-coder /swarm-keepalived:latest
12
12
environment :
13
13
KEEPALIVED_UNICAST_SRC_IP : " 172.16.5.4"
14
14
KEEPALIVED_UNICAST_PEER : " 172.16.5.5, 172.16.5.6"
@@ -27,7 +27,7 @@ services:
27
27
- node.role == manager
28
28
- node.labels.keepalived_master == true
29
29
backup0 :
30
- image : rootshellcoder /swarm-keepalived:latest
30
+ image : ghcr.io/rootshell-coder /swarm-keepalived:latest
31
31
environment :
32
32
KEEPALIVED_UNICAST_SRC_IP : " 172.16.5.5"
33
33
KEEPALIVED_UNICAST_PEER : " 172.16.5.4, 172.16.5.6"
@@ -46,7 +46,7 @@ services:
46
46
- node.role == manager
47
47
- node.labels.keepalived_backup0 == true
48
48
backup1 :
49
- image : rootshellcoder /swarm-keepalived:latest
49
+ image : ghcr.io/rootshell-coder /swarm-keepalived:latest
50
50
environment :
51
51
KEEPALIVED_UNICAST_SRC_IP : " 172.16.5.6"
52
52
KEEPALIVED_UNICAST_PEER : " 172.16.5.4, 172.16.5.5"
You can’t perform that action at this time.
0 commit comments