Files
tasknote/cloud/start-db.sh
T
rmcamposandGitHub a1098dad03 test: add more unit and integration tests for the backend (#202)
* test: add server unit tests for controllers - partial

issue #71

* test: add task controller unit tests

issue #71

* docs: add cloud scripts to start services

* docs: add sonar to backend

issue #198

* docs: add sonar params

* fix: russian text

* test: add note controller test

issue #71

* test: add auth service unit tests - wip

issue #71

* test: add auth and home service unit tests

issue #71
2024-12-27 16:19:31 -03:00

14 lines
273 B
Bash

#!/bin/bash
export $(cat .env | xargs)
docker run -d --rm \
--name db \
--network=host \
-e POSTGRES_DB=$POSTGRES_DB \
-e POSTGRES_USER=$POSTGRES_USER \
-e POSTGRES_PASSWORD=$POSTGRES_PASSWORD \
-e PGDATA=$PGDATA \
-v ./data:/tmp \
postgres:15.8-bookworm