diff --git a/ct/wger.sh b/ct/wger.sh index 00f42d8c6..42d46a62d 100644 --- a/ct/wger.sh +++ b/ct/wger.sh @@ -76,4 +76,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}" diff --git a/frontend/public/json/wger.json b/frontend/public/json/wger.json new file mode 100644 index 000000000..07a9d9430 --- /dev/null +++ b/frontend/public/json/wger.json @@ -0,0 +1,40 @@ +{ + "name": "wger", + "slug": "wger", + "categories": [ + 24 + ], + "date_created": "2025-02-24", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": 3000, + "documentation": "https://wger.readthedocs.io/en/latest/index.html#", + "website": "https://wger.de", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/wger.webp", + "config_path": "/opt/wger/wger.env", + "description": "wger (ˈvɛɡɐ) Workout Manager is a free, open source web application that helps you manage your personal workouts, weight and diet plans and can also be used as a simple gym management utility. It offers a REST API as well, for easy integration with other projects and tools.", + "install_methods": [ + { + "type": "default", + "script": "ct/wger.sh", + "resources": { + "cpu": 2, + "ram": 2048, + "hdd": 8, + "os": "debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": "admin", + "password": "adminadmin" + }, + "notes": [ + { + "text": "This LXC also runs Celery and Redis to synchronize workouts and ingredients", + "type": "info" + } + ] +} diff --git a/install/wger-install.sh b/install/wger-install.sh index cb220d4b0..7b7712529 100644 --- a/install/wger-install.sh +++ b/install/wger-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ build-essential \ nginx \ redis-server \ @@ -200,7 +200,6 @@ EOF msg_ok "Nginx configured" systemctl daemon-reexec -systemctl daemon-reload systemctl enable --now redis-server nginx wger celery celery-beat $STD rm -f /etc/nginx/sites-enabled/default