Compare commits

...

5 Commits

Author SHA1 Message Date
Kukks
dca554690f wip 2020-04-27 14:25:40 +02:00
Kukks
4091e0428d wip 2020-04-27 14:05:05 +02:00
Kukks
a3def13006 wip 2020-04-27 14:04:04 +02:00
Kukks
63e43136dc force ssl 2020-04-27 13:18:44 +02:00
Kukks
3b4301c68b add freescout 2020-04-27 13:11:14 +02:00
3 changed files with 56 additions and 1 deletions

View File

@ -80,7 +80,19 @@
proxy_pass http://clightning_groestlcoin_charge:9112/;
}
{{ end }}
{{ if (eq $serviceName "freescout") }}
location /freescout/ {
proxy_set_header Connection "";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host:443;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://freescout;
}
{{ end }}
{{ if (eq $serviceName "btctransmuter") }}
location /btctransmuter/ {
proxy_set_header Connection "";

View File

@ -167,6 +167,7 @@ Available `BTCPAYGEN_ADDITIONAL_FRAGMENTS` currently are:
* [opt-add-configurator](docker-compose-generator/docker-fragments/opt-add-configurator.yml), to integrate the [BTCPay Server Configurator](https://install.btcpayserver.org) to manage your BTCPay deployment through a UI, and to allow new deployments elsewhere easily.
* [opt-add-pihole](docker-compose-generator/docker-fragments/opt-add-pihole.yml) ([See the documentation](docs/pihole.md))
* [opt-add-thunderhub](docker-compose-generator/docker-fragments/opt-add-thunderhub.yml) for a LND Lightning Node Manager in your Browser. Maintained by [apotdevin](https://github.com/apotdevin).
* [opt-add-freescout](docker-compose-generator/docker-fragments/opt-add-freescout.yml) for a free open source help desk called [Freescout](https://freescout.net/) to help manage support emails. Available at `/freescout` of your primary BTCPay domain.
You can also create your own [custom fragments](#how-can-i-customize-the-generated-docker-compose-file).

View File

@ -0,0 +1,42 @@
version: "3"
services:
freescout-db:
restart: unless-stopped
image: tiredofit/mariadb
container_name: freescout-db
volumes:
- freescout_db:/var/lib/mysql
environment:
- ROOT_PASS=password
- DB_NAME=freescout
- DB_USER=freescout
- DB_PASS=freescout
freescout:
image: tiredofit/freescout
container_name: freescout
environment:
- DB_HOST=freescout-db
- DB_NAME=freescout
- DB_USER=freescout
- DB_PASS=freescout
- SITE_URL=${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/freescout
- ADMIN_EMAIL=admin@admin.com
- ADMIN_PASS=admin@admin.com
- ENABLE_SSL_PROXY=TRUE
- DISPLAY_ERRORS=TRUE
links:
- freescout-db
expose:
- "80"
volumes:
- "freescout_rootdir:/www/html"
- "freescout_logsdir:/www/logs"
btcpayserver:
environment:
BTCPAY_EXTERNALSERVICES: "Freescout:freescout;"
volumes:
freescout_rootdir:
freescout_logsdir:
freescout_db: