This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myapp: | |
build: . | |
build: /path/to/dir/with/Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
cache: | |
image: redis | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webapp: | |
build: . | |
links: | |
- cache | |
cache: | |
image: redis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webapp: | |
ports: | |
- "80:80" | |
- "8080" | |
- "8000-8030:3000-3030" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webapp: | |
volumes: | |
- /var/lib/mysql | |
- ./cache:/tmp/cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webapp: | |
ports: | |
- "80" | |
volumes_from: | |
- "file_server" | |
file_server: | |
image: ubuntu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webapp: | |
conatiner_name: webfront-eu-west |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webapp: | |
envronment: | |
NODE_ENV: development | |
JWT_SECRET: my-secret | |
webapp: | |
envronment: | |
- NODE_ENV=development | |
- JWT_SECRET=my-secret | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
“eventName”: “twilio”, | |
“url”: “https://api.twilio.com/2010-04-01/Accounts//Messages", | |
“requestType”: “POST”, | |
“auth”: { | |
“username”: “”, | |
“password”: “” | |
}, | |
“form”: { | |
“From” : “”, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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, |