* 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
14 lines
273 B
Bash
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
|