mirror of
https://github.com/Blockstream/satellite-api.git
synced 2025-02-22 13:42:33 +01:00
TF: move iptables 4500 rule to correct service
This commit is contained in:
parent
ff1081033c
commit
c0c904d7ff
1 changed files with 2 additions and 2 deletions
|
@ -227,7 +227,6 @@ write_files:
|
|||
ExecStartPre=/usr/bin/docker-credential-gcr configure-docker
|
||||
ExecStartPre=/usr/bin/docker pull ${ionosphere_docker}
|
||||
ExecStartPre=/sbin/iptables -A INPUT -p tcp -s 10.138.0.0/16 --dport 9292 -j ACCEPT
|
||||
ExecStartPre=/sbin/iptables -A INPUT -p tcp -s 10.138.0.0/16 --dport 4500 -j ACCEPT
|
||||
ExecStart=/usr/bin/docker run \
|
||||
--network=host \
|
||||
--pid=host \
|
||||
|
@ -244,7 +243,6 @@ write_files:
|
|||
ExecStop=/usr/bin/docker stop api-server
|
||||
ExecStopPost=/usr/bin/docker rm api-server
|
||||
ExecStopPost=/sbin/iptables -D INPUT -p tcp -s 10.138.0.0/16 --dport 9292 -j ACCEPT
|
||||
ExecStopPost=/sbin/iptables -D INPUT -p tcp -s 10.138.0.0/16 --dport 4500 -j ACCEPT
|
||||
|
||||
- path: /etc/systemd/system/sse-server.service
|
||||
permissions: 0644
|
||||
|
@ -261,6 +259,7 @@ write_files:
|
|||
Environment=HOME=/home/bs
|
||||
ExecStartPre=/usr/bin/docker-credential-gcr configure-docker
|
||||
ExecStartPre=/usr/bin/docker pull ${ionosphere_sse_docker}
|
||||
ExecStartPre=/sbin/iptables -A INPUT -p tcp -s 10.138.0.0/16 --dport 4500 -j ACCEPT
|
||||
ExecStart=/usr/bin/docker run \
|
||||
--network=host \
|
||||
--pid=host \
|
||||
|
@ -270,6 +269,7 @@ write_files:
|
|||
"${ionosphere_sse_docker}"
|
||||
ExecStop=/usr/bin/docker stop sse-server
|
||||
ExecStopPost=/usr/bin/docker rm sse-server
|
||||
ExecStopPost=/sbin/iptables -D INPUT -p tcp -s 10.138.0.0/16 --dport 4500 -j ACCEPT
|
||||
|
||||
- path: /etc/systemd/system/tx-server.service
|
||||
permissions: 0644
|
||||
|
|
Loading…
Add table
Reference in a new issue