ci: 💚 postgres
This commit is contained in:
parent
088d82707e
commit
6462ddaa48
2 changed files with 5 additions and 2 deletions
|
@ -34,7 +34,7 @@ port: 3000
|
|||
#───┘ PostgreSQL configuration └────────────────────────────────
|
||||
|
||||
db:
|
||||
host: database
|
||||
host: postgres
|
||||
port: 5432
|
||||
|
||||
# Database name
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue