bnkops containers and ports¶
Services and their Public Ports:¶
| Service Name | Container ID | PORTS |
|---|---|---|
| Markdown Editor Frontend PC2 | 997b5cd04916 | 0.0.0.0:3002->80/tcp |
| Listmonk App PC2 | 016d86c1072c | 0.0.0.0:9001->9000/tcp |
| Listmonk DB PC2 | a8009a51fbaf | - |
| Markdown Editor Mkdocs PC2 | 571e37fba6be | 0.0.0.0:4002->8000/tcp |
| Markdown Editor Backend PC2 | 7f4ee23cbca1 | 0.0.0.0:3003->3001/tcp |
| Listmonk App | bbdb53a02ee1 | 0.0.0.0:9000->9000/tcp |
| Markdown Editor Frontend | 57b4114ecb28 | 0.0.0.0:3000->80/tcp |
| Markdown Editor Mkdocs | 70ef9e83483a | 0.0.0.0:4000->8000/tcp |
| Listmonk DB | 5390ab88f4c7 | - |
| Markdown Editor Backend | 3a8a9fbc3f38 | 0.0.0.0:3001->3001/tcp |
| Excalidraw | e587aa0b4d4f | 0.0.0.0:5000->80/tcp |
| n8n | 4c9cd4f8a74d | 0.0.0.0:5678->5678/tcp |
| BudiBase | 0c1e723fab6c | 0.0.0.0:10000->80/tcp |
Commands¶
Up for pride corner system
adminatthebunker: How do i delete this volume #terminalSelection
GitHub Copilot: You can delete the Docker volume using the following command in your terminal:
adminatthebunker: I need to down the whole pc2 network then need a docker command to build pc3 bunker-admin@bnkops-server-1:~/Change-Maker-V3.8.1 (Pridecorner Production)$ sudo docker ps [sudo] password for bunker-admin: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES bbdb53a02ee1 listmonk/listmonk:latest "docker-entrypoint.s…" About an hour ago Up About an hour 0.0.0.0:9000->9000/tcp, :::9000->9000/tcp listmonk_app 57b4114ecb28 change-maker-v381-frontend "/docker-entrypoint.…" About an hour ago Up About an hour (healthy) 0.0.0.0:3000->80/tcp, [::]:3000->80/tcp markdown-editor-frontend 70ef9e83483a squidfunk/mkdocs-material "/sbin/tini -- mkdoc…" About an hour ago Up About an hour 0.0.0.0:4000->8000/tcp, [::]:4000->8000/tcp markdown-editor-mkdocs 5390ab88f4c7 postgres:17-alpine "docker-entrypoint.s…" About an hour ago Up About an hour (healthy) listmonk_db 3a8a9fbc3f38 change-maker-v381-backend "docker-entrypoint.s…" About an hour ago Up About an hour 0.0.0.0:3001->3001/tcp, :::3001->3001/tcp markdown-editor-backend de494d46907a pc2-frontend "/docker-entrypoint.…" 13 hours ago Up 13 hours (healthy) 0.0.0.0:3002->80/tcp, [::]:3002->80/tcp markdown-editor-frontend-pc2 7d5f4c13626f listmonk/listmonk:latest "docker-entrypoint.s…" 13 hours ago Up 13 hours 0.0.0.0:9001->9000/tcp, [::]:9001->9000/tcp listmonk_app_pc2 de8c3217ef1a squidfunk/mkdocs-material "/sbin/tini -- mkdoc…" 13 hours ago Up 13 hours 0.0.0.0:4002->8000/tcp, [::]:4002->8000/tcp markdown-editor-mkdocs-pc2 efe828021ace pc2-backend "docker-entrypoint.s…" 13 hours ago Up 13 hours 0.0.0.0:3003->3001/tcp, [::]:3003->3001/tcp markdown-editor-backend-pc2 e587aa0b4d4f excalidraw/excalidraw:latest "/docker-entrypoint.…" 6 weeks ago Up 6 weeks (healthy) 0.0.0.0:5000->80/tcp, [::]:5000->80/tcp excalidraw 4c9cd4f8a74d docker.n8n.io/n8nio/n8n "tini -- /docker-ent…" 6 weeks ago Up 6 weeks 0.0.0.0:5678->5678/tcp, :::5678->5678/tcp n8n 0c1e723fab6c budibase/budibase:latest "tini -- /docker-ent…" 8 weeks ago Up 6 weeks (healthy) 443/tcp, 2222/tcp, 4369/tcp, 4984/tcp, 5984/tcp, 9100/tcp, 0.0.0.0:10000->80/tcp, [::]:10000->80/tcp budibase bunker-admin@bnkops-server-1:~/Change-Maker-V3.8.1 (Pridecorner Production)$
GitHub Copilot: To stop and remove all containers related to the pc2 network and then build the pc3 network, follow these steps:
- Stop and remove
pc2containers:
docker stop markdown-editor-frontend-pc2 listmonk_app_pc2 markdown-editor-mkdocs-pc2 markdown-editor-backend-pc2
docker rm markdown-editor-frontend-pc2 listmonk_app_pc2 markdown-editor-mkdocs-pc2 markdown-editor-backend-pc2
- Build and start
pc3containers:
Assuming you have a
docker-compose.yml
file for pc3, you can use the following command:
If you don't have a
docker-compose.yml
file, you will need to manually build and run each container for pc3.
adminatthebunker: So I am running one whole app network already. I need to launch the #file:docker-compose.yml parrell. I want a command that ups the command so I can properly run both instances at once.
GitHub Copilot: To run both instances in parallel, you can use the -p (project name) option with docker-compose to differentiate between the two instances. Here is the command to launch the new instance:
This will start the services defined in your
docker-compose.yml
file under the project name pc3, allowing it to run alongside your existing pc2 instance.
adminatthebunker: can you give me the opposite command to this; we also want to down and remove the containers
GitHub Copilot: To stop and remove the containers for the pc3 instance, you can use the following command: