http://tinkerman.cat/rpi3_iot_server.pdf (Catalan)
- download the latest image
--- | |
title: "Codebook template" | |
author: "Your name here" | |
date: "The date here" | |
output: | |
html_document: | |
keep_md: yes | |
--- | |
## Project Description |
http://tinkerman.cat/rpi3_iot_server.pdf (Catalan)
create folder | |
1) | |
mkdir docker-compose-pg | |
cd docker-compose-pg | |
2) | |
vi docker-compose.yml | |
insert this text: | |
" |
sentry
SENTRY_SECRET_KEY
to random 32 char stringdocker-compose up -d
docker-compose exec sentry sentry upgrade
to setup database and create admin userdocker-compose exec sentry pip install sentry-slack
if you want slack plugin, it can be done laterdocker-compose restart sentry
9000
version: '2' | |
# Note: use the database service name `db` in the Host IP Address field ... | |
# Or, `docker container inspect {postgrescontainerid}` to obtain the IP Address needed for completing the Drupal setup screen. | |
services: | |
# Postgres | |
db: | |
image: postgres:9.6.5-alpine | |
restart: always |
# LICENSE https://creativecommons.org/licenses/by-nc-sa/3.0/ | |
# https://cjohansen.no/aws-apigw-proxy-cloudformation/ | |
AWSTemplateFormatVersion: 2010-09-09 | |
Description: An API that proxies requests to another HTTP endpoint | |
Resources: | |
Api: | |
Type: 'AWS::ApiGateway::RestApi' | |
Properties: |
# curl - Raw upload | |
curl -X PUT -T image.png https://example.com/upload | |
# curl - Content-Type: multipart/form-data | |
curl -F name=logo -F [email protected] https://example.org/upload | |
# curl - POST presigned URL (S3) |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: | | |
AWS CloudFormation template for Mock WebSocket API Gateway. When deploying this stack please remember to check the option: | |
- I acknowledge that AWS CloudFormation might create IAM resources. | |
This template can help you to solve issues like: | |
- CloudWatch Logs role ARN must be set in account settings to enable logging | |
- Execution failed due to configuration error: statusCode should be an integer which defined in request template | |
- This custom domain name cannot map to WEBSOCKET protocol APIs | |
- Error during WebSocket handshake: Unexpected response code: 500 |