mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-08 17:34:16 +00:00
Psql env vars
This commit is contained in:
parent
c17be517af
commit
91d8179276
|
@ -161,6 +161,10 @@ steps:
|
|||
environment:
|
||||
CARGO_HOME: .cargo_home
|
||||
DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
|
||||
PGUSER: lemmy
|
||||
PGPASSWORD: password
|
||||
PGHOST: database
|
||||
PGDATABASE: lemmy
|
||||
commands:
|
||||
- diesel migration run
|
||||
# Make sure that the migration works both with and without the `r` schema
|
||||
|
|
Loading…
Reference in a new issue