Skip to content

Add suport for .env files #80

@jpahullo

Description

@jpahullo

docker-compose suport .env files to load environment variables.

Since the bin/moodle-docker-compose script expects two environment variables already set up, it makes impossible to let docker-compose use the content of the .env for value replacing on the configuration loaded from YML files.

Proposal:

I think it is a very easy step to check if the file exists on the / directory, and load all configuration from the .env file before guard conditions start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions