Straight to Maintenance
Initialize the droplet with dokku app pre-setup
## | |
# SSL Settings | |
## | |
ssl_session_cache shared:SSL:20m; | |
ssl_session_timeout 10m; | |
ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS'; | |
ssl_prefer_server_ciphers on; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_dhparam /etc/ssl/certs/dhparam.pem; |
.mauticform-label { | |
color: #000000; | |
display: inline-block; | |
} | |
.mauticform-row { | |
display: inline-block | |
} | |
.mauticform-button { |
location ~ mtc.js{ | |
try_files $uri /index.php?$args; | |
} | |
location ~ mtracking.gif{ | |
try_files $uri /index.php?$args; | |
} | |
location ~ generate.js{ | |
try_files $uri /index.php?$args; |
# ----------------------------------------------------------------- | |
# .gitignore | |
# Bare Minimum Git | |
# http://ironco.de/bare-minimum-git/ | |
# ver 20181206 | |
# | |
# From the root of your project run | |
# curl -O https://gist.githubusercontent.com/salcode/10017553/raw/.gitignore | |
# to download this file | |
# |
Initialize the droplet with dokku app pre-setup
import { Controller } from "stimulus" | |
import { DirectUpload } from "@rails/activestorage" | |
import { getMetaValue, toArray, findElement, removeElement, insertAfter } from "helpers" | |
export default class extends Controller { | |
static targets = [ "input" ] | |
connect() { | |
this.dropZone = createDropZone(this) | |
this.hideFileInput() |
json.extract! photo, :id, :image_data, :created_at, :updated_at | |
json.url photo_url(photo, format: :html) | |
json.image_url image_url_photo_url(photo) |
version: '2' | |
services: | |
mauticdb: | |
image: percona/percona-server:5.7 | |
container_name: mauticdb | |
volumes: | |
- mysql_data:/var/lib/mysql | |
environment: |