diff --git a/template/config.properties b/template/config.properties index 209c279..f50c42f 100644 --- a/template/config.properties +++ b/template/config.properties @@ -68,6 +68,9 @@ MATRIX_SERVER:https://matrix-client.matrix.org # Geo Restriction Checker for federated bypassing of Geo Restrictions #GEO_RESTRICTION_CHECKER_URL:INSERT_HERE +# BG Helper URL for supplying PoTokens +BG_HELPER_URL:http://bg-helper:3000 + # S3 Configuration Data (compatible with any provider that offers an S3 compatible API) #S3_ENDPOINT:INSERT_HERE #S3_ACCESS_KEY:INSERT_HERE diff --git a/template/docker-compose.caddy.yml b/template/docker-compose.caddy.yml index 57d2488..cb32c19 100644 --- a/template/docker-compose.caddy.yml +++ b/template/docker-compose.caddy.yml @@ -24,6 +24,10 @@ services: depends_on: - postgres container_name: piped-backend + bg-helper: + image: 1337kavin/bg-helper-server:latest + restart: unless-stopped + container_name: piped-bg-helper nginx: image: nginx:mainline-alpine restart: unless-stopped @@ -65,7 +69,7 @@ services: - WATCHTOWER_CLEANUP=true - WATCHTOWER_INCLUDE_RESTARTING=true container_name: watchtower - command: piped-frontend piped-backend piped-proxy nginx caddy postgres watchtower + command: piped-frontend piped-backend piped-proxy piped-bg-helper nginx caddy postgres watchtower volumes: caddy_data: null piped-proxy: null diff --git a/template/docker-compose.nginx.yml b/template/docker-compose.nginx.yml index 1745563..7a5a106 100644 --- a/template/docker-compose.nginx.yml +++ b/template/docker-compose.nginx.yml @@ -24,6 +24,10 @@ services: depends_on: - postgres container_name: piped-backend + bg-helper: + image: 1337kavin/bg-helper-server:latest + restart: unless-stopped + container_name: piped-bg-helper nginx: image: nginx:mainline-alpine restart: unless-stopped @@ -66,6 +70,6 @@ services: - WATCHTOWER_CLEANUP=true - WATCHTOWER_INCLUDE_RESTARTING=true container_name: watchtower - command: piped-frontend piped-backend piped-proxy varnish nginx postgres watchtower + command: piped-frontend piped-backend piped-proxy piped-bg-helper varnish nginx postgres watchtower volumes: piped-proxy: null diff --git a/template/docker-compose.standalone.yml b/template/docker-compose.standalone.yml index 1c29ef0..103dcff 100644 --- a/template/docker-compose.standalone.yml +++ b/template/docker-compose.standalone.yml @@ -29,6 +29,11 @@ services: - "8082:8080" container_name: piped-proxy + bg-helper: + image: 1337kavin/bg-helper-server:latest + restart: unless-stopped + container_name: piped-bg-helper + postgres: image: pgautoupgrade/pgautoupgrade:16-alpine restart: unless-stopped