Files
instance-setup-stuff/stirling_server-setup

12 lines
309 B
Bash

#!/bin/bash
echo -e "\n[+] setting up stirling-pdf\n\n-------\n"
# shellcheck source=stirling_server-env
. "${HOME}"/"${USER}"-env
mkdir -p "${VOLUME_PATH}"
envsubst <"${HOME}"/"${USER}"-compose_template.yaml >"${HOME}"/"${USER}"-compose.yaml
sudo docker compose -f "${HOME}"/"${USER}"-compose.yaml up -d