mirror of
https://github.com/oxygenpay/oxygen.git
synced 2026-04-26 08:05:56 +03:00
[GH-ISSUE #30] it'll ignore the DB connection string from the config/oxygen.yml #1
Labels
No labels
duplicate
not reproducible
pull-request
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/oxygen#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @naddika on GitHub (Aug 22, 2023).
Original GitHub issue: https://github.com/oxygenpay/oxygen/issues/30
Yesterday I was trying to run the project locally. I was doing it without a docker. Built it — UI and backend, created config/oxygen.yml.
Then -
make runBut it wouldn't start because of an error in the DB connection. No parameters from the DB connection from the config would get filled in in runtime. It'd would only use the default parameters of my machine: user_name = <my_os_user_login>, for instance. Not the one that I specified in the config.yml
And the "dbname" / "database" would always be remain empty in the logs --
database=What's the matter? Have you guys tried to run it locally without a docker?
@swift1337 commented on GitHub (Aug 24, 2023):
Hey! Yep, it works:
config/oxygen.ymlmake run:Make sure that
oxygenis a root property in your yml config. Alternatively, you can use ENV variables.@naddika commented on GitHub (Sep 11, 2023):
@swift1337
migrate_on_start: falseisn't the example config file% make run===>@naddika commented on GitHub (Sep 11, 2023):
% docker-compose up -d===>there's no example of
docker.env@naddika commented on GitHub (Sep 11, 2023):
regarding the Db connection - I don't know, I've tried dozens of times.