-
Notifications
You must be signed in to change notification settings - Fork 0
/
start.sh
27 lines (19 loc) · 838 Bytes
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#! /usr/bin/env sh
set -e
## START SCRIPT COLLECTION ##
# comment out and uncomment each line as needed
## CLEAR CONTAINERS ##
# docker compose down ## clear all containers
## DEVELOPMENT TOOLS ##
# docker compose up db-local -d ## Postgres local database
# docker compose up pgadmin -d ## PGAdmin
# docker compose up cloudsql -d ## CloudSQL Proxy
# sh services/_templates/web_app/scripts/start-emu.sh ## Firebase emulator suite
## MAIN SERVICES ##
# sh services/_api/scripts/start-dev.sh ## backend
# sh services/_templates/web_admin/scripts/start-dev.sh ## admin frontend
# sh services/_templates/web_app/scripts/start-dev.sh ## user app frontend
sh services/_templates/grafana/scripts/start.sh ## Grafana
## LOGS ##
docker compose logs -f ## follow the logs
# docker compose logs -f api, web, db-local ## follow specific logs