This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docker [2025/06/28 19:50] nightfly |
docker [2025/07/01 00:03] (current) nightfly [Building without compose] |
||
---|---|---|---|
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 39: | Line 39: | ||
</ | </ | ||
- | To go container shell: | + | To access |
< | < | ||
docker exec -it wolfrec bash | docker exec -it wolfrec bash | ||
</ | </ | ||
+ | |||
+ | |||
+ | ===== 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 | ||
+ | </ | ||
+ | |||
===== Verification ===== | ===== Verification ===== | ||
Line 54: | Line 92: | ||
===== Notes ===== | ===== Notes ===== | ||
+ | * Web interface: http:// | ||
* Persistent data is stored in Docker volumes as defined in docker-compose.yml. | * Persistent data is stored in Docker volumes as defined in docker-compose.yml. | ||
* The entrypoint script initializes the database and configuration files automatically. | * The entrypoint script initializes the database and configuration files automatically. | ||
* Cron jobs and services are managed via supervisord inside the container. | * Cron jobs and services are managed via supervisord inside the container. | ||