#!/usr/bin/env bash set -o errexit set -o nounset set -o pipefail # Move the dynamic traefik config to the shared volume if [ -f /flow/gts/tmp/traefik_gotosocial.yaml ]; then mv /flow/gts/tmp/traefik_gotosocial.yaml {{ .Traefik.SharedMountPoint }}/dynamic/traefik_gotosocial.yaml fi mkdir -p {{ .GoToSocial.DataContainerDirectory }}/database exec gotosocial --config-path /flow/gts/config/config.yaml server start