Psql env vars

This commit is contained in:
dullbananas 2023-12-29 09:40:19 -07:00 committed by GitHub
parent c17be517af
commit 91d8179276
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -161,6 +161,10 @@ steps:
environment: environment:
CARGO_HOME: .cargo_home CARGO_HOME: .cargo_home
DATABASE_URL: postgres://lemmy:password@database:5432/lemmy DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
PGUSER: lemmy
PGPASSWORD: password
PGHOST: database
PGDATABASE: lemmy
commands: commands:
- diesel migration run - diesel migration run
# Make sure that the migration works both with and without the `r` schema # Make sure that the migration works both with and without the `r` schema