ssh root@46.225.164.179 "mkdir -p /opt/nimsforeststripe"
ssh root@46.225.164.179 "cat > /opt/nimsforeststripe/config.yaml << 'EOF'
stripe:
secret_key: \"sk_test_...\"
webhook_secret: \"whsec_...\"
nats:
url: nats://127.0.0.1:4222
http:
port: 8097
api_token: \"<generate-token>\"
sync:
interval: 5m
EOF"
ssh root@46.225.164.179 'docker run -d --name nimsforeststripe --network host --restart unless-stopped -v /opt/nimsforeststripe/config.yaml:/root/.nimsforeststripe/config.yaml:ro -e NATS_URL=nats://127.0.0.1:4222 registry.nimsforest.com/nimsforeststripe:<version>'
export HCLOUD_CONTEXT=nimsforest
hcloud dns rrset create --name stripe.myceliumland --type A --record 46.225.164.179 nimsforest.com
https://stripe.myceliumland.nimsforest.com/api/v1/webhook/stripe
Events: checkout.session.completedPush a new v* tag to trigger CI/CD:
git tag v0.1.0
git push origin v0.1.0
The release pipeline will: