ci: 💚 postgres
This commit is contained in:
parent
088d82707e
commit
6462ddaa48
@ -34,7 +34,7 @@ port: 3000
|
|||||||
#───┘ PostgreSQL configuration └────────────────────────────────
|
#───┘ PostgreSQL configuration └────────────────────────────────
|
||||||
|
|
||||||
db:
|
db:
|
||||||
host: database
|
host: postgres
|
||||||
port: 5432
|
port: 5432
|
||||||
|
|
||||||
# Database name
|
# Database name
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user