add script to set the ENV variable Server-IP based on the host

rapp/pick-what-you-like
Robert Rapp 2025-02-18 11:01:10 +01:00
parent ba5d253c19
commit fd36d17e12
1 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/bash
export SERVER_IP=$(curl -s https://api.ipify.org)