This proposed setup assumes that you want to use synapse with a Postgres database behind a separate nginx reverse proxy for TLS.
A detailed explanation of a basic and extended dns setup can be found here
| # See docs/examples | |
| # http://doc.gitlab.com/ce/ci/quick_start/README.html | |
| # http://doc.gitlab.com/ce/ci/yaml/README.html | |
| # GitLab CI template for Go tests. Note this installs | |
| # a new working copy of Go in a non-standard path such | |
| # that sudo/root is not needed for the install stage. | |
| # note that this particular install-environment stage | |
| # is overly verbose in order to debug anything tricky |
| version: '2' | |
| services: | |
| web: | |
| image: odoo:12.0 | |
| depends_on: | |
| - db | |
| ports: | |
| - "8069:8069" | |
| volumes: | |
| - odoo-web-data:/var/lib/odoo |
| def do_led_pulse(nPulses, pin): | |
| import machine | |
| import time, math | |
| led = machine.PWM(machine.Pin(pin), freq=1000) | |
| for j in range(pulses): | |
| for i in range(20): | |
| led.duty(int(math.sin(i / 10 * math.pi) * 500 + 500)) | |
| time.sleep_ms(50) |
This proposed setup assumes that you want to use synapse with a Postgres database behind a separate nginx reverse proxy for TLS.
A detailed explanation of a basic and extended dns setup can be found here