Skip to content

Commit

Permalink
renamed param PROXY_IPS to INVOICEPLANE_PROXY_IPS
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Oct 22, 2017
1 parent 328e5de commit 54908c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**1.5.4**
- invoiceplane: upgrade to 1.5.4
- add `PROXY_IPS` to configure reverse proxy ips
- add `INVOICEPLANE_PROXY_IPS` to configure reverse proxy ips

**1.5.3**
- invoiceplane: upgrade to 1.5.3
Expand Down
2 changes: 1 addition & 1 deletion assets/runtime/functions
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ invoiceplane_configure_url() {

invoiceplane_configure_proxy_ips() {
echo "Configuring InvoicePlane::Proxy IPS"
sed -i "s|config\['proxy_ips'\] = '';|config['proxy_ips'] = '"${PROXY_IPS}"';|" ${INVOICEPLANE_CODEIGNITER_CONFIG}
sed -i "s|^\$config\['proxy_ips'\][ ]*=.*;|\$config\['proxy_ips'\] = '"$INVOICEPLANE_PROXY_IPS"';|" ${INVOICEPLANE_CODEIGNITER_CONFIG}
}

invoiceplane_configure_database() {
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ services:
- DB_NAME=invoiceplane_db

- INVOICEPLANE_URL=http://localhost:10080
- INVOICEPLANE_PROXY_IPS=
- INVOICEPLANE_BACKUPS_EXPIRY=0
depends_on:
- mysql
Expand Down

0 comments on commit 54908c3

Please sign in to comment.