mirror of
https://github.com/marcogll/coolify-n8n-evo.git
synced 2026-01-13 21:35:18 +00:00
Create init-db.sh
This commit is contained in:
6
n8n-evo-redis-pg/init-db.sh
Normal file
6
n8n-evo-redis-pg/init-db.sh
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
|
||||||
|
CREATE DATABASE $N8N_DB_NAME;
|
||||||
|
CREATE DATABASE $EVOLUTION_DB_NAME;
|
||||||
|
EOSQL
|
||||||
Reference in New Issue
Block a user