Files
web/scripts/start.sh
Max 48ae4eee73 Added customized assets; ported server to git1.maximhutz.com. (#1)
There really is too much stuff here... shouldn't really be one commit...

Co-authored-by: Max Hutz <maximhutz@gmail.com>
Reviewed-on: https://git1.maximhutz.com/Infrastructure/Codebase/pulls/1
Co-authored-by: Max <git@maximhutz.me>
Co-committed-by: Max <git@maximhutz.me>
2024-08-13 06:38:32 +00:00

18 lines
321 B
Bash

#!/bin/bash
set -e
# shellcheck disable=SC2046
docker-compose down
# Create and accessify correct folders.
mkdir -p boot
sudo chown 1000:1000 -R config
sudo chown 1000:1000 -R boot
sudo chown 1000:1000 -R custom
# Update contents.
sudo tar xvfz archive.tar.gz -C ./
# Run.
docker-compose -f compose.yml up -d --build