NorbiPeti
aa6f3f51de
- Fixed database URL locally and in production - Set separate DB user just to be safe - Migrate DB schema on each launch - Use node user during dev but use root during deploy - Fix output of the dev container (tsc-watch --noClear)
5 lines
164 B
Bash
Executable file
5 lines
164 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd backend || exit
|
|
docker-compose build backend
|
|
USERNAME="0" docker-compose run -e COMMAND=deploy -v /var/run/docker.sock:/var/run/docker.sock backend
|