From: Felix Ableitner Date: Thu, 10 Dec 2020 01:10:17 +0000 (+0100) Subject: retry service env X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/static/%24%7Bargs.thread.url%7D?a=commitdiff_plain;h=e02d0f39ec737db812f28f4ec5628d976a69074f;p=lemmy.git retry service env --- diff --git a/.drone.yml b/.drone.yml index 6ff216a2..b60b19c8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ steps: image: ekidd/rust-musl-builder:experimental-stable user: root environment: - LEMMY_DATABASE_URL: postgres://lemmy:password@localhost:5432/lemmy + LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy RUST_BACKTRACE: 1 RUST_TEST_THREADS: 1 commands: @@ -54,7 +54,7 @@ steps: - refs/tags/* services: -- name: postgres +- name: database image: postgres:12-alpine environment: POSTGRES_USER: lemmy