Health Project Dashboard (DB Migrations)
1.9K
Note: This image runs database migrations for the main project Health Project Dashboard. To avoid any unexpected
behavior
the version must be the same than the image of the main project.
(e.g.: 3lightstechnology/hpd-api-db-migrations:1.0.0-hpd-migrations -> 3lightstechnology/hpd-api:1.0.0)
Main image documentation here.
Migrations are only available for Postgres SQL 11+. By default some scheme will be created and migrations apply on it:
accelerateiamDATABASE_HOST
Defines the database host (e.g.: jdbc:postgresql://127.0.0.1:5432/api_db).
DATABASE_USER
Defines the database user who executes migrations.
DATABASE_PASSWORD
Defines the database user password.
docker composeversion : '3.7'
services:
db :
image : postgres:14.2
environment:
POSTGRES_DB : api_db
POSTGRES_USER : api_user
POSTGRES_PASSWORD: api_password
ports :
- "5432:5432"
migrations_hpd:
image : 3lightstechnology/hpd-api-db-migrations:[TAGNAME]
environment:
DATABASE_HOST : jdbc:postgresql://db:5432/api_db
DATABASE_USER : api_user
DATABASE_PASSWORD: api_password
depends_on :
- db
Content type
Image
Digest
sha256:15a43143d…
Size
314.7 MB
Last updated
2 months ago
docker pull 3lightstechnology/hpd-api-db-migrations:1.22-hpd-migrations