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 └──────────────────────────────── #───┘ PostgreSQL configuration └────────────────────────────────
db: db:
host: database host: postgres
port: 5432 port: 5432
# Database name # Database name

View file

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