diff --git a/.config/tmuxinator/debops.yml b/.config/tmuxinator/debops.yml new file mode 100644 index 0000000..90b8a15 --- /dev/null +++ b/.config/tmuxinator/debops.yml @@ -0,0 +1,49 @@ +# /home/psi-jack/.config/tmuxinator/debops.yml + +name: debops +root: ~/ + +# Optional tmux socket +# socket_name: foo + +# Runs before everything. Use it to start daemons etc. +# pre: sudo /etc/rc.d/mysqld start + +# Project hooks +# Runs on project start, always +# on_project_start: command +# Run on project start, the first time +# on_project_first_start: command +# Run on project start, after the first time +# on_project_restart: command +# Run on project exit ( detaching from tmux session ) +# on_project_exit: command +# Run on project stop +# on_project_stop: command + +# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. +# pre_window: rbenv shell 2.0.0-p247 + +# Pass command line options to tmux. Useful for specifying a different tmux.conf. +# tmux_options: -f ~/.tmux.mac.conf + +# Change the command to call tmux. This can be used by derivatives/wrappers like byobu. +# tmux_command: byobu + +# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. +# startup_window: editor + +# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used. +# startup_pane: 1 + +# Controls whether the tmux session should be attached to automatically. Defaults to true. +# attach: false + +# Runs after everything. Use it to attach to tmux with custom options etc. +# post: tmux -CC attach -t hv + +windows: + - debops1: ssh ansible@debops + - debops2: ssh ansible@debops + - debops3: ssh ansible@debops + diff --git a/.config/tmuxinator/elastic.yml b/.config/tmuxinator/elastic.yml new file mode 100644 index 0000000..bcb2506 --- /dev/null +++ b/.config/tmuxinator/elastic.yml @@ -0,0 +1,49 @@ +# /home/psi-jack/.config/tmuxinator/elastic.yml + +name: elastic +root: ~/ + +# Optional tmux socket +# socket_name: foo + +# Runs before everything. Use it to start daemons etc. +# pre: sudo /etc/rc.d/mysqld start + +# Project hooks +# Runs on project start, always +# on_project_start: command +# Run on project start, the first time +# on_project_first_start: command +# Run on project start, after the first time +# on_project_restart: command +# Run on project exit ( detaching from tmux session ) +# on_project_exit: command +# Run on project stop +# on_project_stop: command + +# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. +# pre_window: rbenv shell 2.0.0-p247 + +# Pass command line options to tmux. Useful for specifying a different tmux.conf. +# tmux_options: -f ~/.tmux.mac.conf + +# Change the command to call tmux. This can be used by derivatives/wrappers like byobu. +# tmux_command: byobu + +# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. +# startup_window: editor + +# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used. +# startup_pane: 1 + +# Controls whether the tmux session should be attached to automatically. Defaults to true. +# attach: false + +# Runs after everything. Use it to attach to tmux with custom options etc. +# post: tmux -CC attach -t elastic + +windows: + - elastic1: ssh root@elasticsearch1 + - elastic2: ssh root@elasticsearch2 + - elastic3: ssh root@elasticsearch3 + diff --git a/.config/tmuxinator/hv.yml b/.config/tmuxinator/hv.yml new file mode 100644 index 0000000..461a90a --- /dev/null +++ b/.config/tmuxinator/hv.yml @@ -0,0 +1,49 @@ +# /home/psi-jack/.config/tmuxinator/hv.yml + +name: hv +root: ~/ + +# Optional tmux socket +# socket_name: foo + +# Runs before everything. Use it to start daemons etc. +# pre: sudo /etc/rc.d/mysqld start + +# Project hooks +# Runs on project start, always +# on_project_start: command +# Run on project start, the first time +# on_project_first_start: command +# Run on project start, after the first time +# on_project_restart: command +# Run on project exit ( detaching from tmux session ) +# on_project_exit: command +# Run on project stop +# on_project_stop: command + +# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. +# pre_window: rbenv shell 2.0.0-p247 + +# Pass command line options to tmux. Useful for specifying a different tmux.conf. +# tmux_options: -f ~/.tmux.mac.conf + +# Change the command to call tmux. This can be used by derivatives/wrappers like byobu. +# tmux_command: byobu + +# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. +# startup_window: editor + +# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used. +# startup_pane: 1 + +# Controls whether the tmux session should be attached to automatically. Defaults to true. +# attach: false + +# Runs after everything. Use it to attach to tmux with custom options etc. +# post: tmux -CC attach -t hv + +windows: + - hv1: ssh root@hv1 + - hv2: ssh root@hv2 + - hv3: ssh root@hv3 + diff --git a/.config/tmuxinator/mysql.yml b/.config/tmuxinator/mysql.yml new file mode 100644 index 0000000..40f6b71 --- /dev/null +++ b/.config/tmuxinator/mysql.yml @@ -0,0 +1,48 @@ +# /home/psi-jack/.config/tmuxinator/mysql.yml + +name: mysql +root: ~/ + +# Optional tmux socket +# socket_name: foo + +# Runs before everything. Use it to start daemons etc. +# pre: sudo /etc/rc.d/mysqld start + +# Project hooks +# Runs on project start, always +# on_project_start: command +# Run on project start, the first time +# on_project_first_start: command +# Run on project start, after the first time +# on_project_restart: command +# Run on project exit ( detaching from tmux session ) +# on_project_exit: command +# Run on project stop +# on_project_stop: command + +# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. +# pre_window: rbenv shell 2.0.0-p247 + +# Pass command line options to tmux. Useful for specifying a different tmux.conf. +# tmux_options: -f ~/.tmux.mac.conf + +# Change the command to call tmux. This can be used by derivatives/wrappers like byobu. +# tmux_command: byobu + +# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. +# startup_window: editor + +# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used. +# startup_pane: 1 + +# Controls whether the tmux session should be attached to automatically. Defaults to true. +# attach: false + +# Runs after everything. Use it to attach to tmux with custom options etc. +# post: tmux -CC attach -t mysql + +windows: + - mariadb1: ssh root@mariadb1 + - mariadb2: ssh root@mariadb2 + diff --git a/.config/tmuxinator/pgsql.yml b/.config/tmuxinator/pgsql.yml new file mode 100644 index 0000000..5447d58 --- /dev/null +++ b/.config/tmuxinator/pgsql.yml @@ -0,0 +1,48 @@ +# /home/psi-jack/.config/tmuxinator/pgsql.yml + +name: pgsql +root: ~/ + +# Optional tmux socket +# socket_name: foo + +# Runs before everything. Use it to start daemons etc. +# pre: sudo /etc/rc.d/mysqld start + +# Project hooks +# Runs on project start, always +# on_project_start: command +# Run on project start, the first time +# on_project_first_start: command +# Run on project start, after the first time +# on_project_restart: command +# Run on project exit ( detaching from tmux session ) +# on_project_exit: command +# Run on project stop +# on_project_stop: command + +# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. +# pre_window: rbenv shell 2.0.0-p247 + +# Pass command line options to tmux. Useful for specifying a different tmux.conf. +# tmux_options: -f ~/.tmux.mac.conf + +# Change the command to call tmux. This can be used by derivatives/wrappers like byobu. +# tmux_command: byobu + +# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. +# startup_window: editor + +# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used. +# startup_pane: 1 + +# Controls whether the tmux session should be attached to automatically. Defaults to true. +# attach: false + +# Runs after everything. Use it to attach to tmux with custom options etc. +# post: tmux -CC attach -t pgsql + +windows: + - pgsql1: ssh root@pgsql1 + - pgsql2: ssh root@pgsql2 +