Initial Commit

This commit is contained in:
2024-02-13 17:03:06 +00:00
commit 097fd27ed1
11 changed files with 574 additions and 0 deletions

10
compose/db-init-script.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
set -e
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
CREATE ROLE confluence WITH LOGIN PASSWORD 'test123';
CREATE ROLE jira WITH LOGIN PASSWORD 'test123';
EOSQL
createdb -O confluence -E utf8 --lc-collate=en_US.utf8 --lc-ctype=en_US.utf8 confluence
createdb -O jira -E UNICODE -l C -T template0 jira