mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-03-12 04:36:10 -07:00
12 lines
295 B
Bash
Executable File
12 lines
295 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Read in .env file; error if not found
|
|
if [ ! -f .env ]; then
|
|
echo ".env not found, running setup.sh"
|
|
bash setup.sh
|
|
fi
|
|
source .env
|
|
|
|
# On newer versions, docker-compose is docker compose
|
|
docker compose up -d --remove-orphans || docker-compose up -d --remove-orphans
|