posting --collection . --env sw01-pod-1.envdocker run --rm -it -e DEVICE="sw01-pod-1.network.garden" -e DEVICE_USER="ins" -e DEVICE_PASSWORD="REPLACE_WITH_PASSWORD" ghcr.io/ubaumann/cn_posting_collection:main posting --collection . --env .envMark the text and press "c".
Press "Shift" + "INS"
You can run the container with various options supported by run.py:
docker run --rm -it \
-e DEVICE="sw01-pod-1.network.garden" \
-e DEVICE_USER="ins" \
-e DEVICE_PASSWORD="REPLACE_WITH_PASSWORD" \
-e API_SERVER="10.255.255.254:8080" \
-e APP_NAME=sw01 \
ghcr.io/ubaumann/cn_posting_collection:main \
python run.pyExample getting encrypted keys using http:
docker run --rm -it \
-e DEVICE="sw01-pod-1.network.garden" \
-e DEVICE_USER="ins" \
-e DEVICE_PASSWORD="REPLACE_WITH_PASSWORD" \
-e API_SERVER="10.255.255.254:8080" \
-e APP_NAME=sw01 \
-e APP_ACCOUNT="pod-1" \
-e KEY_LOCATION="http://10.255.255.254:8000" \
-e DECRYPTION_KEY="yJ3RNNOyeGc2NRVzR4PbwKf79_D9fQtlvCL7cIcXJKQ=" \
ghcr.io/ubaumann/cn_posting_collection:main \
python run.pyWhen the environment variable APP_ACCOUNT is set, the run.py script tries to get the key from KEY_LOCATION/account.
KEY_LOCATIONdefaults to a local directory (e.g.,.keys/).- If
KEY_LOCATIONstarts withhttp, the key is fetched via HTTP GET. - If
DECRYPTION_KEYis set, the key is decrypted using the Fernet algorithm.