Skip to content

Instantly share code, notes, and snippets.

View nippe's full-sized avatar
🏠
Working from home

Niklas Nihlén nippe

🏠
Working from home
View GitHub Profile
myapp:
build: .
build: /path/to/dir/with/Dockerfile
...
cache:
image: redis
...
webapp:
ports:
- "80:80"
- "8080"
- "8000-8030:3000-3030"
webapp:
volumes:
- /var/lib/mysql
- ./cache:/tmp/cache
webapp:
ports:
- "80"
volumes_from:
- "file_server"
file_server:
image: ubuntu
webapp:
conatiner_name: webfront-eu-west
webapp:
envronment:
NODE_ENV: development
JWT_SECRET: my-secret
webapp:
envronment:
- NODE_ENV=development
- JWT_SECRET=my-secret
{
“eventName”: “twilio”,
“url”: “https://api.twilio.com/2010-04-01/Accounts//Messages",
“requestType”: “POST”,
“auth”: {
“username”: “”,
“password”: “”
},
“form”: {
“From” : “”,
$ particle webhook create twilio-hook.json
Using settings from the file twilio-hook.json
Sending webhook request { uri: ‘/v1/webhooks’,
method: ‘POST’,
json:
{ event: ‘twilio’,
url: ‘https://api.twilio.com/2010-04-01/Accounts//Messages',
deviceid: undefined,