-
Notifications
You must be signed in to change notification settings - Fork 3
/
tmuxp.yaml
51 lines (51 loc) · 2.03 KB
/
tmuxp.yaml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
session_name: modyn
windows:
- window_name: supervisor
layout: tiled
panes:
- docker logs $(docker compose ps -q supervisor) && docker attach $(docker compose ps -q supervisor)
- docker exec -it $(docker compose ps -q supervisor) /bin/bash
- window_name: storage
layout: tiled
panes:
- docker logs $(docker compose ps -q storage) && docker attach $(docker compose ps -q storage)
- docker exec -it $(docker compose ps -q storage) /bin/bash
- window_name: selector
layout: tiled
panes:
- docker logs $(docker compose ps -q selector) && docker attach $(docker compose ps -q selector)
- docker exec -it $(docker compose ps -q selector) /bin/bash
- window_name: trainer_server
layout: tiled
panes:
- docker logs $(docker compose ps -q trainer_server) && docker attach $(docker compose ps -q trainer_server)
- docker exec -it $(docker compose ps -q trainer_server) /bin/bash
- window_name: storage-db
layout: tiled
panes:
- docker logs $(docker compose ps -q storage-db) && docker attach $(docker compose ps -q storage-db)
- shell_command:
- docker exec -it $(docker compose ps -q storage-db) /bin/bash
- psql -U postgres
- \c postgres
- \dt
- window_name: metadata-db
layout: tiled
panes:
- docker logs $(docker compose ps -q metadata-db) && docker attach $(docker compose ps -q metadata-db)
- shell_command:
- docker exec -it $(docker compose ps -q metadata-db) /bin/bash
- psql -U postgres
- \c postgres
- \dt
- window_name: metadata_processor
layout: tiled
panes:
- docker logs $(docker-compose ps -q metadata_processor) && docker attach $(docker-compose ps -q metadata_processor)
- docker exec -it $(docker-compose ps -q metadata_processor) /bin/bash
- window_name: tests
layout: tiled
panes:
- shell_command:
- docker logs $(docker compose ps -q tests)
- docker attach $(docker compose ps -q tests) 2> /dev/null