.gitlab-ci.yml updated v13

This commit is contained in:
Ivan Nikolaev-Axenov 2024-05-30 12:41:28 +03:00
parent 802e087f62
commit e1b88188f8
2 changed files with 6 additions and 3 deletions

View file

@ -0,0 +1,5 @@
FROM mirror.gcr.io/postgres:14.1-alpine
ADD tables.sql /docker-entrypoint-initdb.d/
ADD export.sql /docker-entrypoint-initdb.d/
ADD test-data.sql.sql /docker-entrypoint-initdb.d/

View file

@ -1,7 +1,7 @@
version: "3"
services:
db:
image: mirror.gcr.io/postgres:latest
build: ./clearing-all/db
restart: always
environment:
- POSTGRES_USER=clearing
@ -12,8 +12,6 @@ services:
- clearing-net
ports:
- "5433:5432"
volumes:
- /builds/mfd/clearing/clr_test/clearing-all/db:/docker-entrypoint-initdb.d
healthcheck:
test: ["CMD-SHELL", "pg_isready -U clearing -h db -p 5432 -d clearing"]
interval: 5s