This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docker [2025/06/29 00:59] nightfly |
docker [2025/07/04 13:07] (current) nightfly |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
**Important: | **Important: | ||
- | This setup is provided as a **proof of concept** and has not been tested for stability or security. | + | This setup is provided as a proof of concept and has not been tested for stability or security. |
===== Requirements ===== | ===== Requirements ===== | ||
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 | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Building without compose ===== | ||
+ | |||
+ | In case if you dont want use compose in some reasons(?) you can build all manually | ||
+ | |||
+ | < | ||
+ | docker build -t wolfrecorder: | ||
+ | |||
+ | docker volume create wr_storage | ||
+ | docker volume create wr_web | ||
+ | docker volume create wr_db | ||
+ | docker volume create wr_bin | ||
+ | </ | ||
+ | |||
+ | and run first time with | ||
+ | < | ||
+ | docker run -d \ | ||
+ | --name wolfrec \ | ||
+ | -p 9090:80 \ | ||
+ | -v wr_storage:/ | ||
+ | -v wr_web:/ | ||
+ | -v wr_db:/ | ||
+ | -v wr_bin:/ | ||
+ | --restart unless-stopped \ | ||
+ | wolfrecorder: | ||
+ | </ | ||
+ | |||
+ | starting container | ||
+ | < | ||
+ | docker start wolfrec | ||
+ | </ | ||
+ | |||
+ | stopping container | ||
+ | < | ||
+ | docker stop wolfrec | ||
</ | </ | ||
Line 43: | Line 110: | ||
docker exec -it wolfrec bash | docker exec -it wolfrec bash | ||
</ | </ | ||
- | |||
- | ===== Verification ===== | ||
Check the container logs: | Check the container logs: |