Skip to content

Documentation specifying where configuration parameters are stored would make migrating systems much easier! #257

@fake-name

Description

@fake-name

Basically, I'm trying to migrate a pghero install from a vm into a container.

I'd like to be able to just copy a single config file across (or maybe a directory), but it seems that's not currently possible.

So far, to simply move machines:

  • Install pghero
  • Copy pghero.yml across.
  • sudo service pghero restart - Service is masked
  • <10 minutes of experimenting trying to figure out how to actually start the thing>
  • sudo pghero scale web=1 apparently actually installs the service handlers.
  • sudo service pghero restart - It works this time
  • Query stats are not being logged.

Query stats are configured via PGHERO_STATS_DATABASE_URL, but that doesn't seem to affect the config file, and I have no idea where the value you specify to it is going.

Basically, I think I'm proposing that you have one config file (or a directory of config files), and all config stuff is stored there. Right now, it appears to be scattered around in lots of places, and that makes migrating a config basically impossible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions