← Back to team overview

dhis2-devs team mailing list archive

Re: dhis2.conf

 

This use to work, have you change how configurations are loaded?

-- Paulo

On Wed, Nov 16, 2016 at 10:02 AM Lars Helge Øverland <lars@xxxxxxxxx> wrote:

> Hi Paulo,
>
> at the moment, no. This will be a useful feature though. Will write an
> issue.
>
> Could also be a task for external developers ;)
>
> best regards,
>
> Lars
>
> On Tue, Nov 15, 2016 at 11:23 PM, Paulo Grácio <paulogracio@xxxxxxxxx>
> wrote:
>
> Hi, is it possible to use environment variables on dhis.conf
> https://github.com/pgracio/dhis2-docker/blob/master/conf/dhis.conf#L8
>
> It's failing to start with this error
>
> FATAL:  database "${POSTGRES_DB}" does not exist
>
>
> -- Paulo
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> lars@xxxxxxxxx
> http://www.dhis2.org <https://www.dhis2.org/>
>
>

Follow ups

References