debug: CI: use different hostname for postgres container
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Aravinth Manivannan 2022-12-19 10:34:51 +05:30
parent 55e4c95d6c
commit b249696776
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ pipeline:
backend:
image: rust
environment:
- DATABASE_URL=postgres://postgres:password@database:5432/postgres
- DATABASE_URL=postgres://postgres:password@librepages_librepages_postgres_database:5432/postgres
commands:
- curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
- apt update && apt-get -y --no-install-recommends install nodejs
@ -47,7 +47,7 @@ pipeline:
secrets: [RELEASE_BOT_GPG_SIGNING_KEY, DUMBSERVE_PASSWORD, GPG_PASSWORD]
services:
database:
librepages_librepages_postgres_database:
image: postgres
environment:
- POSTGRES_PASSWORD=password