cloud-init open port
parent
296b69f40e
commit
502366db10
|
@ -121,6 +121,8 @@ write_files:
|
|||
|
||||
runcmd:
|
||||
- update-ca-certificates
|
||||
- iptables -I INPUT 6 -m state --state NEW -p tcp --dport {PORT:-8000} -j ACCEPT
|
||||
- netfilter-persistent save
|
||||
- pip install git+https://git.pictuga.com/pictuga/morss.git#egg=morss[full]
|
||||
- gunicorn --bind 0.0.0.0:${PORT:-8000} ${GUNICORN} --preload --access-logfile - morss
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue