Skip to content

Commit

Permalink
Updated entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
krakonos1602 committed Jun 2, 2024
1 parent f4b6be2 commit d97bebf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion firefly-iii-addon/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Firefly III"
description: "An unofficial add-on for a self-hosted manager for your personal finances."
url: https://docs.firefly-iii.org
version: "6.1.15-0"
version: "6.1.15-1"
slug: "fireflyiii"
arch: [aarch64, amd64]
init: false
Expand Down
11 changes: 4 additions & 7 deletions firefly-iii-addon/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
#!/usr/bin/with-contenv bashio
set -e

declare ingress_interface
declare ingress_port
#declare ingress_port

ingress_port=$(bashio::addon.ingress_port)
ingress_interface=$(bashio::addon.ip_address)
sed -i "s/%%port%%/${ingress_port}/g" /etc/nginx/servers/ingress.conf
sed -i "s/%%interface%%/${ingress_interface}/g" /etc/nginx/servers/ingress.conf
#ingress_port=$(bashio::addon.ingress_port)
#sed -i "s/%%port%%/${ingress_port}/g" /etc/apache2/sites-enabled/firefly-iii.conf

export SITE_OWNER="$(bashio::config 'SITE_OWNER')"

Expand Down Expand Up @@ -74,4 +71,4 @@ rm -rf bootstrap/cache/*
rm -rf storage/framework/cache/*
rm -rf storage/framework/views/*

nginx & apachectl -D FOREGROUND
apachectl -D FOREGROUND

0 comments on commit d97bebf

Please sign in to comment.