feat: support UDP proxy of port 2022 and 2023 for P2Panda apps #70
@ -16,7 +16,7 @@ steps:
|
||||
STACK_NAME: traefik
|
||||
LETS_ENCRYPT_ENV: production
|
||||
LETS_ENCRYPT_EMAIL: helo@autonomic.zone
|
||||
TRAEFIK_YML_VERSION: v22
|
||||
TRAEFIK_YML_VERSION: v26
|
||||
FILE_PROVIDER_YML_VERSION: v10
|
||||
ENTRYPOINT_VERSION: v4
|
||||
trigger:
|
||||
|
||||
@ -131,6 +131,10 @@ COMPOSE_FILE="compose.yml"
|
||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.gitea.yml"
|
||||
# GITEA_SSH_ENABLED=1
|
||||
|
||||
## P2Panda UDP
|
||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.p2panda.yml"
|
||||
# P2PANDA_ENABLED=1
|
||||
|
||||
## Foodsoft SMTP
|
||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.foodsoft.yml"
|
||||
# FOODSOFT_SMTP_ENABLED=1
|
||||
|
||||
2
abra.sh
2
abra.sh
@ -1,3 +1,3 @@
|
||||
export TRAEFIK_YML_VERSION=v25
|
||||
export TRAEFIK_YML_VERSION=v26
|
||||
export FILE_PROVIDER_YML_VERSION=v10
|
||||
export ENTRYPOINT_VERSION=v5
|
||||
|
||||
14
compose.p2panda.yml
Normal file
14
compose.p2panda.yml
Normal file
@ -0,0 +1,14 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
app:
|
||||
environment:
|
||||
- P2PANDA_ENABLED
|
||||
ports:
|
||||
- target: 2022
|
||||
published: 2022
|
||||
protocol: udp
|
||||
mode: host
|
||||
- target: 2023
|
||||
published: 2023
|
||||
protocol: udp
|
||||
mode: host
|
||||
@ -1,7 +1,7 @@
|
||||
---
|
||||
core:
|
||||
defaultRuleSyntax: v2
|
||||
|
||||
|
||||
log:
|
||||
level: {{ env "LOG_LEVEL" }}
|
||||
maxAge: {{ env "LOG_MAX_AGE" }}
|
||||
@ -37,6 +37,12 @@ entrypoints:
|
||||
gitea-ssh:
|
||||
address: ":2222"
|
||||
{{ end }}
|
||||
{{ if eq (env "P2PANDA_ENABLED") "1" }}
|
||||
|
decentral1se marked this conversation as resolved
|
||||
p2panda-udp-v4:
|
||||
address: ":2022/udp"
|
||||
p2panda-udp-v6:
|
||||
address: ":2023/udp"
|
||||
{{ end }}
|
||||
{{ if eq (env "GARAGE_RPC_ENABLED") "1" }}
|
||||
garage-rpc:
|
||||
address: ":3901"
|
||||
|
||||
Reference in New Issue
Block a user
Oh wait a sec, you need to bump the config version:
For context: the env var need to be increased rverytime the file gets changed. This is necessary for all template files
Ok, I've bumped this. I've also bumped it in the drone file, which was a bit out of date, hopefully that works.