]> Untitled Git - lemmy.git/commitdiff
retry service env
authorFelix Ableitner <me@nutomic.com>
Thu, 10 Dec 2020 01:10:17 +0000 (02:10 +0100)
committerFelix Ableitner <me@nutomic.com>
Thu, 10 Dec 2020 01:10:17 +0000 (02:10 +0100)
.drone.yml

index 6ff216a27c801563f100de9488e21bb664f013d6..b60b19c84d9a05e6c3a20dd0856cade33162cd36 100644 (file)
@@ -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