parent
4833707736
commit
bc4a4224de
@ -1,4 +1,6 @@
|
||||
DEBUG_MODE=true
|
||||
EXTOLLO_LOGGING_LEVEL=6
|
||||
DATABASE_PASSWORD=extollo
|
||||
DATABASE_HOST=db01.platform.local
|
||||
EXTOLLO_LOGGING_LEVEL=5
|
||||
DATABASE_USERNAME=postgres
|
||||
DATABASE_PASSWORD=postgres
|
||||
DATABASE_HOST=localhost
|
||||
DATABASE_NAME=mathy
|
||||
|
@ -0,0 +1,10 @@
|
||||
#!/bin/bash -xe
|
||||
|
||||
docker run -p 6379:6379 --name redis -d redis
|
||||
docker run -p 5432:5432 --name postgres --env POSTGRES_PASSWORD=postgres -d postgres
|
||||
sleep 5
|
||||
docker exec -it postgres su - postgres -c "psql -c 'create database mathy;'"
|
||||
cp example.env .env
|
||||
pnpm i
|
||||
./ex migrate
|
||||
|
Loading…
Reference in new issue