This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
docker [2025/06/30 18:09] nightfly |
docker [2025/07/04 13:07] (current) nightfly |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| **Important: | **Important: | ||
| Line 9: | Line 9: | ||
| * Git | * Git | ||
| - | ===== Steps ===== | + | ===== Running from Docker Hub ===== |
| + | |||
| + | 1. Create **docker-compose.yml** file with following content | ||
| + | <file yml docker-compose.yml> | ||
| + | services: | ||
| + | wolfrecorder: | ||
| + | image: nightflyza/ | ||
| + | container_name: | ||
| + | ports: | ||
| + | - " | ||
| + | volumes: | ||
| + | - wr_storage:/ | ||
| + | - wr_web:/ | ||
| + | - wr_db:/ | ||
| + | - wr_bin:/ | ||
| + | restart: unless-stopped | ||
| + | |||
| + | volumes: | ||
| + | wr_storage: | ||
| + | wr_web: | ||
| + | wr_db: | ||
| + | wr_bin: | ||
| + | </ | ||
| + | |||
| + | 2. Just pull and run container with single command | ||
| + | < | ||
| + | docker compose up -d | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Building your own image using composer | ||
| 1. Clone the repository: | 1. Clone the repository: | ||
| Line 25: | Line 55: | ||
| < | < | ||
| docker compose up -d | docker compose up -d | ||
| - | </ | ||
| - | |||
| - | ===== Managing the Container ===== | ||
| - | |||
| - | To stop the container: | ||
| - | < | ||
| - | docker compose down | ||
| - | </ | ||
| - | |||
| - | To restart the running container: | ||
| - | < | ||
| - | docker compose restart | ||
| - | </ | ||
| - | |||
| - | To access container shell: | ||
| - | < | ||
| - | docker exec -it wolfrec bash | ||
| </ | </ | ||
| Line 78: | Line 91: | ||
| stopping container | stopping container | ||
| < | < | ||
| - | docker | + | docker |
| </ | </ | ||
| + | ===== Managing the Container ===== | ||
| - | ===== Verification ===== | + | To stop the container: |
| + | < | ||
| + | docker compose down | ||
| + | </ | ||
| + | |||
| + | To restart the running container: | ||
| + | < | ||
| + | docker compose restart | ||
| + | </ | ||
| + | |||
| + | To access container shell: | ||
| + | < | ||
| + | docker exec -it wolfrec bash | ||
| + | </ | ||
| Check the container logs: | Check the container logs: | ||