Compare commits
7 Commits
large-uplo
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 25cf7862ed | |||
| 7fc2cac6ff | |||
| 005f0235c0 | |||
|
7c6dd3f5a5
|
|||
| 440a7f5228 | |||
|
74193326fb
|
|||
| 57a6aed540 |
@ -86,6 +86,15 @@ COMPOSE_FILE="compose.yml"
|
|||||||
#SECRET_PORKBUN_API_KEY_VERSION=v1
|
#SECRET_PORKBUN_API_KEY_VERSION=v1
|
||||||
#SECRET_PORKBUN_SECRET_API_KEY_VERSION=v1
|
#SECRET_PORKBUN_SECRET_API_KEY_VERSION=v1
|
||||||
|
|
||||||
|
## Cloudflare, htps://cloudflare.com
|
||||||
|
## To insert your secrets:
|
||||||
|
## abra app secret insert {myapp.example.coop} cf_email v1 "<CLOUDFLARE_EMAIL>"
|
||||||
|
## abra app secret insert {myapp.example.coop} cf_api_key v1 "<CLOUDFLARE_API_KEY>"
|
||||||
|
## cf_api_key is an account API key from Cloudflare that has DNS read + edit permission
|
||||||
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.cloudflare.yml"
|
||||||
|
#SECRET_CLOUDFLARE_EMAIL_VERSION=v1 # generate=false
|
||||||
|
#SECRET_CLOUDFLARE_API_KEY_VERSION=v1 # generate=false
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
# Manual wildcard certificate insertion #
|
# Manual wildcard certificate insertion #
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
> https://docs.traefik.io
|
> https://docs.traefik.io
|
||||||
|
|
||||||
<!-- metadata -->
|
<!-- metadata -->
|
||||||
* **Maintainer**: [@p4u1](https://git.coopcloud.tech/p4u1), [@decentral1se](https://git.coopcloud.tech/decentral1se), [@javielico](https://git.coopcloud.tech/javielico)
|
* **Maintainer**: [@p4u1](https://git.coopcloud.tech/p4u1), [@decentral1se](https://git.coopcloud.tech/decentral1se), [@javielico](https://git.coopcloud.tech/javielico), [@moritz](https://git.coopcloud.tech/moritz)
|
||||||
* **Status**: `stable`
|
* **Status**: `stable`
|
||||||
* **Category**: Utilities
|
* **Category**: Utilities
|
||||||
* **Features**: ?
|
* **Features**: ?
|
||||||
@ -42,8 +42,8 @@ subdomains, like
|
|||||||
need to give Traefik access to your DNS provider so that it can carry out
|
need to give Traefik access to your DNS provider so that it can carry out
|
||||||
Letsencrypt DNS challenges.
|
Letsencrypt DNS challenges.
|
||||||
|
|
||||||
1. Use Gandi, OVH, DO, Azure, or PorkBun for DNS 🤡 (support for other providers
|
1. Use Gandi, OVH, DO, Azure, PorkBun, or Cloudflare for DNS 🤡 (support for
|
||||||
can be easily added, see
|
other providers can be easily added, see
|
||||||
[the `lego` docs](https://go-acme.github.io/lego/dns/#dns-providers).
|
[the `lego` docs](https://go-acme.github.io/lego/dns/#dns-providers).
|
||||||
2. Run `abra app config YOURAPPDOMAIN`
|
2. Run `abra app config YOURAPPDOMAIN`
|
||||||
3. Uncomment e.g. `ENABLE_GANDI` and the related `SECRET_.._VERSION` line, e.g.
|
3. Uncomment e.g. `ENABLE_GANDI` and the related `SECRET_.._VERSION` line, e.g.
|
||||||
|
|||||||
18
compose.cloudflare.yml
Normal file
18
compose.cloudflare.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
environment:
|
||||||
|
- CLOUDFLARE_EMAIL_FILE=/run/secrets/cf_email
|
||||||
|
- CLOUDFLARE_API_KEY_FILE=/run/secrets/cf_api_key
|
||||||
|
secrets:
|
||||||
|
- cf_email
|
||||||
|
- cf_api_key
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
cf_email:
|
||||||
|
name: ${STACK_NAME}_cf_email_${SECRET_CLOUDFLARE_EMAIL_VERSION}
|
||||||
|
external: true
|
||||||
|
cf_api_key:
|
||||||
|
name: ${STACK_NAME}_cf_api_key_${SECRET_CLOUDFLARE_API_KEY_VERSION}
|
||||||
|
external: true
|
||||||
@ -4,4 +4,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- GARAGE_RPC_ENABLED
|
- GARAGE_RPC_ENABLED
|
||||||
ports:
|
ports:
|
||||||
- "3901:3901"
|
- target: 3901
|
||||||
|
published: 3901
|
||||||
|
protocol: tcp
|
||||||
|
mode: host
|
||||||
|
|||||||
@ -3,7 +3,7 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "traefik:v3.6.11"
|
image: "traefik:v3.6.15"
|
||||||
# Note(decentral1se): *please do not* add any additional ports here.
|
# Note(decentral1se): *please do not* add any additional ports here.
|
||||||
# Doing so could break new installs with port conflicts. Please use
|
# Doing so could break new installs with port conflicts. Please use
|
||||||
# the usual `compose.$app.yml` approach for any additional ports
|
# the usual `compose.$app.yml` approach for any additional ports
|
||||||
@ -55,12 +55,12 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||||
- "traefik.http.routers.${STACK_NAME}.service=api@internal"
|
- "traefik.http.routers.${STACK_NAME}.service=api@internal"
|
||||||
- "traefik.http.routers.${STACK_NAME}.middlewares=security@file"
|
- "traefik.http.routers.${STACK_NAME}.middlewares=security@file"
|
||||||
- "coop-cloud.${STACK_NAME}.version=5.1.0+v3.6.11"
|
- "coop-cloud.${STACK_NAME}.version=5.1.1+v3.6.15"
|
||||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
|
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
|
||||||
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
|
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
|
||||||
|
|
||||||
socket-proxy:
|
socket-proxy:
|
||||||
image: lscr.io/linuxserver/socket-proxy:3.2.14
|
image: lscr.io/linuxserver/socket-proxy:3.2.19
|
||||||
deploy:
|
deploy:
|
||||||
endpoint_mode: dnsrr
|
endpoint_mode: dnsrr
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user