Add docker helper scripts.

This commit is contained in:
Paul Makles
2020-08-30 15:44:56 +01:00
parent 8bb1977025
commit ff0e539c7b
8 changed files with 235 additions and 8 deletions

12
run.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
export $(egrep -v '^#' .env | xargs)
echo "Running Revolt in detached mode."
docker run \
-d \
--name revolt \
-p 8000:8000 \
-p 9000:9000 \
-e "DB_URI=$DB_URI" \
-e "PUBLIC_URI=$PUBLIC_URI" \
-e "PORTAL_URL=$PORTAL_URI" \
revolt