mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-10 06:54:12 +00:00
Psql env vars
This commit is contained in:
parent
c17be517af
commit
91d8179276
1 changed files with 4 additions and 0 deletions
|
@ -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