Commit Graph

140 Commits

Author SHA1 Message Date
Chai Feng
8556bb7687 add sub command: add-service-rule 2018-10-05 16:25:44 +08:00
Chai Feng
b0aa7318da add internal sub-command raw-command 2018-10-05 14:11:57 +08:00
Chai Feng
e92bdff8c3 extract main function 2018-10-05 13:39:57 +08:00
Chai Feng
b1aec55699 use published port, not target port 2018-10-05 10:34:08 +08:00
Chai Feng
00bf86f138 fix bug 2018-10-03 15:57:54 +08:00
Chai Feng
589832c221 fix a bug about finding instance name 2018-10-03 15:44:08 +08:00
Chai Feng
52ca7eda4d allow DEBUG env in entrypoint 2018-10-03 15:43:44 +08:00
Chai Feng
be9bdf1782 instance names may contains dot 2018-10-03 15:43:11 +08:00
Chai Feng
9f25de1d2f monitor docker events 2018-10-03 15:02:50 +08:00
Chai Feng
dc0c629107 Adding rules may not including port number 2018-10-03 14:31:52 +08:00
Chai Feng
f9604f62cf remove rules when a container is to stopped 2018-10-03 14:31:34 +08:00
Chai Feng
b8968f8481 service allow sub-command must need a port 2018-10-03 13:32:08 +08:00
Chai Feng
b6c6516731 WIP: update docker-entrypoint.sh 2018-10-03 12:46:40 +08:00
Chai Feng
a53fe1ba25 pass ufw_docker_agent_image 2018-10-03 12:03:34 +08:00
Chai Feng
8eb83755b9 use service id instead of service name 2018-10-03 11:22:50 +08:00
Chai Feng
9767d9e5e1 WIP: update all services rules 2018-10-03 11:09:54 +08:00
Chai Feng
0ce7e710f5 to filter all instances of a service 2018-10-03 10:36:21 +08:00
Chai Feng
e0b4536873 if no port number 2018-10-03 10:34:11 +08:00
Chai Feng
6001834bab use env instead of labels 2018-10-03 10:33:43 +08:00
Chai Feng
aa020f4462 avoid to find a stopped instance 2018-10-03 09:45:29 +08:00
Chai Feng
5f8841f2ac watching docker events 2018-10-03 09:18:28 +08:00
Chai Feng
bd991a0367 create ufw-docker-agent service if not found 2018-10-03 09:17:51 +08:00
Chai Feng
e942f1fc4b add service help message of ufw-docker 2018-10-03 09:16:52 +08:00
Chai Feng
1c87b364f4 find all service ufw-docker-agent labels 2018-10-03 09:15:21 +08:00
Chai Feng
424c2b4474 Add Dockerfile for image ufw-docker-agent 2018-10-03 09:14:21 +08:00
Chai Feng
2c5391dcec check published port of a service 2018-10-03 09:11:55 +08:00
Chai Feng
a91e864cfe valid port syntax in service allow 2018-10-03 09:10:57 +08:00
Chai Feng
b557b56a03 add sub-command: service allow 2018-10-03 09:10:14 +08:00
Chai Feng
9e4c161416 add service sub-command 2018-10-03 09:08:28 +08:00
Chai Feng
89b3aaa5aa check ufw status first 2018-10-02 16:12:34 +08:00
Chai Feng
a167d3e4ab update readme, add ussage of ufw-docker util 2018-09-13 15:34:53 +08:00
Chai Feng
f9959ddd6f add examples 2018-09-13 15:09:28 +08:00
Chai Feng
02f61f9e68 update readme 2018-09-11 08:22:40 +08:00
Chai Feng
056071c4b2 add the reason for choosing ufw-user-forword or ufw-user-input 2018-09-10 20:40:14 +08:00
Chai Feng
4e64d3a236 Update README 2018-09-10 18:54:29 +08:00
Chai Feng
37a657862a Create LICENSE 2018-09-06 20:22:02 +08:00
Chai Feng
d9017fd2a9 sometimes we need to restart servers 2018-08-08 23:44:12 +08:00
Chai Feng
b6f325f9d1 forgot to add ufw-user-forward table 2018-08-08 23:03:01 +08:00
Chai Feng
85cd2c1893 Update Readme 2018-08-08 15:34:23 +08:00
Chai Feng
9658596f2a init 2018-08-08 15:29:48 +08:00