Jafner.net/homelab/jafner-net/scripts/compose_up.sh

38 lines
1.1 KiB
Bash
Raw Normal View History

2022-08-06 11:04:37 -07:00
#!/bin/bash
2023-02-15 14:21:00 -08:00
echo "==========================================="
echo "============= STARTING INFRA =============="
echo "==========================================="
for service in traefik keycloak ddns docker-socket-proxy
do
echo "===== STARTING $service ====="
cd /home/joey/homelab/server/config/$service
docker-compose up -d
done
2022-08-06 11:04:37 -07:00
echo "==========================================="
echo "========== STARTING MAIN SERVERS =========="
echo "==========================================="
for service in /home/joey/homelab/server/config/*
do
echo "===== STARTING $service ====="
cd $service
docker-compose up -d
done
2022-08-06 11:04:37 -07:00
echo "==========================================="
echo "================ ALL DONE ================="
echo "======= List all running containers ======="
echo "==========================================="
echo "docker ps -a"
docker ps -a
# wish I didn't have to do this
# the exporter boots faster than the plex server, and doesn't seem to retry.
2023-02-15 14:17:23 -08:00
#wait 10
#docker container restart monitoring_exporter-plex
#docker container restart keycloak_forwardauth