bitque/docker/boot-server.sh

6 lines
174 B
Bash
Raw Normal View History

cd /app
psql postgres -U postgres -h postgresql -c 'CREATE DATABASE bitque' || echo "DB OK"
diesel migration run --database-url postgres://postgres@postgresql/bitque
bitque