mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04: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 New Issue
Block a user