ci: 💚 postgres

This commit is contained in:
ThatOneCalculator 2023-07-29 18:19:33 -07:00
parent 088d82707e
commit 6462ddaa48
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
2 changed files with 5 additions and 2 deletions

View File

@ -34,7 +34,7 @@ port: 3000
#───┘ PostgreSQL configuration └────────────────────────────────
db:
host: database
host: postgres
port: 5432
# Database name

View File

@ -11,7 +11,6 @@
# https://hub.docker.com/r/library/node/tags/
image: node:alpine
stages:
- build
@ -20,6 +19,10 @@ stages:
# Check out: https://docs.gitlab.com/ee/ci/services/index.html
variables:
POSTGRES_PASSWORD: test
# POSTGRES_DB: $POSTGRES_DB
# POSTGRES_USER: $POSTGRES_USER
# POSTGRES_PASSWORD: $POSTGRES_PASSWORD
# POSTGRES_HOST_AUTH_METHOD: trust
services:
- postgres:15