Files
petfeed/docker/start.sh
T

16 lines
417 B
Bash

#!/bin/sh
# Start PawFeed.
# Docker Compose automatically reads docker/.env from the same directory
# as this script for both build-args and container runtime vars.
set -e
cd "$(dirname "$0")"
if [ ! -f .env ]; then
echo "ERROR: docker/.env not found."
echo "Copy .env.example to docker/.env and fill in your values."
exit 1
fi
docker compose up -d --build
echo "PawFeed is starting on http://localhost:4563"