chore: fix terminator-config for dev-logs
All checks were successful
/ build (map[dockerfile:./services/api/Dockerfile name:api]) (push) Successful in 44s
/ build (map[dockerfile:./services/app/Dockerfile name:app]) (push) Successful in 1m4s
/ build (map[dockerfile:./services/files/Dockerfile name:files]) (push) Successful in 57s
/ build (map[dockerfile:./services/tasks/Dockerfile name:tasks]) (push) Successful in 1m7s
/ build (map[dockerfile:./services/watchers/Dockerfile name:watchers]) (push) Successful in 1m24s
/ build (map[dockerfile:./services/hasura/Dockerfile name:hasura]) (push) Successful in 1m31s
/ build (map[dockerfile:./services/web/Dockerfile name:web]) (push) Successful in 1m25s
/ deploy (push) Successful in 14s
All checks were successful
/ build (map[dockerfile:./services/api/Dockerfile name:api]) (push) Successful in 44s
/ build (map[dockerfile:./services/app/Dockerfile name:app]) (push) Successful in 1m4s
/ build (map[dockerfile:./services/files/Dockerfile name:files]) (push) Successful in 57s
/ build (map[dockerfile:./services/tasks/Dockerfile name:tasks]) (push) Successful in 1m7s
/ build (map[dockerfile:./services/watchers/Dockerfile name:watchers]) (push) Successful in 1m24s
/ build (map[dockerfile:./services/hasura/Dockerfile name:hasura]) (push) Successful in 1m31s
/ build (map[dockerfile:./services/web/Dockerfile name:web]) (push) Successful in 1m25s
/ deploy (push) Successful in 14s
This commit is contained in:
parent
f63766314b
commit
089f71b645
2 changed files with 37 additions and 52 deletions
|
@ -1,15 +1,17 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# 1) your “before_script”
|
# Get the absolute path to the terminator-config file
|
||||||
|
CONFIG_PATH="$(pwd)/terminator-config"
|
||||||
|
echo "Using config file: $CONFIG_PATH"
|
||||||
|
|
||||||
|
# Launch Terminator in its own D-Bus session
|
||||||
# 2) launch Terminator in its own D-Bus session (so it fully registers & unregisters windows),
|
|
||||||
# background it, and redirect all of its output away from your shell:
|
|
||||||
dbus-run-session -- terminator \
|
dbus-run-session -- terminator \
|
||||||
--config ./terminator-config \
|
--config "$CONFIG_PATH" \
|
||||||
--layout dev \
|
--layout dev &
|
||||||
> /dev/null 2>&1 &
|
|
||||||
|
|
||||||
# 3) remove it from your shell’s job table so it won’t ever echo anything later
|
# Wait a moment before disowning
|
||||||
|
sleep 1
|
||||||
|
|
||||||
|
# Remove it from your shell's job table
|
||||||
disown
|
disown
|
||||||
|
|
|
@ -10,66 +10,49 @@ suppress_multiple_term_dialog = True
|
||||||
|
|
||||||
[layouts]
|
[layouts]
|
||||||
[[dev]]
|
[[dev]]
|
||||||
# root window
|
|
||||||
[[[window0]]]
|
[[[window0]]]
|
||||||
type = Window
|
type = Window
|
||||||
parent = ""
|
parent = ""
|
||||||
|
size = 1200, 800
|
||||||
# top-level horizontal split: left vs right
|
[[[paned0]]]
|
||||||
[[[pane0]]]
|
|
||||||
type = HPaned
|
type = HPaned
|
||||||
parent = window0
|
parent = window0
|
||||||
|
position = 600
|
||||||
# left column: vertical paned into 3 rows
|
[[[paned1]]]
|
||||||
[[[pane_left]]]
|
|
||||||
type = VPaned
|
type = VPaned
|
||||||
parent = pane0
|
parent = paned0
|
||||||
# nest another VPaned under the bottom half of pane_left
|
position = 266
|
||||||
[[[pane_left2]]]
|
[[[paned2]]]
|
||||||
type = VPaned
|
type = VPaned
|
||||||
parent = pane_left
|
parent = paned1
|
||||||
|
position = 133
|
||||||
# right column: vertical paned into 3 rows
|
[[[paned3]]]
|
||||||
[[[pane_right]]]
|
|
||||||
type = VPaned
|
type = VPaned
|
||||||
parent = pane0
|
parent = paned0
|
||||||
# nest another VPaned under the bottom half of pane_right
|
position = 266
|
||||||
[[[pane_right2]]]
|
[[[terminal1]]]
|
||||||
type = VPaned
|
type = Terminal
|
||||||
parent = pane_right
|
parent = paned1
|
||||||
|
|
||||||
# Row 1, Col 1 (db/minio logs)
|
|
||||||
[[[child0]]]
|
|
||||||
type = Terminal
|
|
||||||
parent = pane_left
|
|
||||||
profile = default
|
profile = default
|
||||||
command = bash -lc "docker compose logs --follow --tail=10 db minio rabbitmq redis-hot-geodata redis-q-dedup keydb-cold-geodata; exec bash"
|
command = bash -lc "docker compose logs --follow --tail=10 db minio rabbitmq redis-hot-geodata redis-q-dedup keydb-cold-geodata; exec bash"
|
||||||
|
[[[terminal2]]]
|
||||||
# Row 2, Col 1 (tileserver logs)
|
type = Terminal
|
||||||
[[[child1]]]
|
parent = paned2
|
||||||
type = Terminal
|
|
||||||
parent = pane_left2
|
|
||||||
profile = default
|
profile = default
|
||||||
command = bash -lc "docker compose logs --follow --tail=10 tileserver-gl osrm-car osrm-foot nominatim; exec bash"
|
command = bash -lc "docker compose logs --follow --tail=10 tileserver-gl osrm-car osrm-foot nominatim; exec bash"
|
||||||
|
[[[terminal3]]]
|
||||||
# Row 3, Col 1 (hasura logs)
|
type = Terminal
|
||||||
[[[child2]]]
|
parent = paned2
|
||||||
type = Terminal
|
|
||||||
parent = pane_left2
|
|
||||||
profile = default
|
profile = default
|
||||||
command = bash -lc "docker compose logs --follow --tail=10 hasura hasura_console; exec bash"
|
command = bash -lc "docker compose logs --follow --tail=10 hasura hasura_console; exec bash"
|
||||||
|
[[[terminal4]]]
|
||||||
# Row 1, Col 2 (api/files logs)
|
type = Terminal
|
||||||
[[[child3]]]
|
parent = paned3
|
||||||
type = Terminal
|
|
||||||
parent = pane_right
|
|
||||||
profile = default
|
profile = default
|
||||||
command = bash -lc "docker compose logs --follow --tail=10 api files web; exec bash"
|
command = bash -lc "docker compose logs --follow --tail=10 api files web; exec bash"
|
||||||
|
[[[terminal5]]]
|
||||||
# Row 2, Col 2 (watchers/tasks logs)
|
type = Terminal
|
||||||
[[[child4]]]
|
parent = paned3
|
||||||
type = Terminal
|
|
||||||
parent = pane_right2
|
|
||||||
profile = default
|
profile = default
|
||||||
command = bash -lc "docker compose logs --follow --tail=10 watchers tasks; exec bash"
|
command = bash -lc "docker compose logs --follow --tail=10 watchers tasks; exec bash"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue