{"id":20292522,"url":"https://github.com/mauricelambert/webscriptscontainers","last_synced_at":"2026-01-03T18:30:52.203Z","repository":{"id":140723069,"uuid":"415071262","full_name":"mauricelambert/WebScriptsContainers","owner":"mauricelambert","description":"Dockerfile for WebScripts project.","archived":false,"fork":false,"pushed_at":"2023-12-21T23:25:40.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T22:11:23.631Z","etag":null,"topics":["containers","docker","docker-images","webscripts"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mauricelambert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-10-08T17:21:21.000Z","updated_at":"2024-08-12T20:17:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c0053bd-d4f7-4666-9e29-1066ceff5d79","html_url":"https://github.com/mauricelambert/WebScriptsContainers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FWebScriptsContainers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FWebScriptsContainers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FWebScriptsContainers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FWebScriptsContainers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mauricelambert","download_url":"https://codeload.github.com/mauricelambert/WebScriptsContainers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244287918,"owners_count":20428896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["containers","docker","docker-images","webscripts"],"created_at":"2024-11-14T15:17:38.118Z","updated_at":"2026-01-03T18:30:52.168Z","avatar_url":"https://github.com/mauricelambert.png","language":"Dockerfile","readme":"![WebScripts Logo](https://mauricelambert.github.io/info/python/code/WebScripts/small_logo.png \"WebScripts logo\")\r\n\r\n# WebScripts containers - Docker\r\n\r\n## WebScripts\r\n\r\n### Description\r\n\r\nWebScripts is a tool to run scripts and display the result in a Web Interface.\r\n\r\n### Documenation\r\n\r\nThe documentation is available on [readthedocs](https://webscripts.readthedocs.io/en/latest/) and on my [github wiki](https://github.com/mauricelambert/WebScripts/wiki).\r\n\r\n### Sources\r\n\r\nSources are available on my [github](https://github.com/mauricelambert/WebScripts).\r\n\r\n## Containers\r\n\r\nThree tags are available on [Docker hub](https://hub.docker.com/r/mauricelambert/webscripts).\r\n\r\n1. The WebScripts Server (tag is the *version*, example: `3.0.11`)\r\n2. Deployment of WebScripts Server with Apache and mod_wsgi (tag are *apache_\\\u003cversion\u003e*, example: `apache_3.0.11` and `lastest`, *default container*)\r\n3. Deployment of WebScripts Server with Nginx as HTTPS proxy (tag is *nginx_\\\u003cversion\u003e*, example: `nginx_3.0.11`)\r\n\r\nDockerfiles are available on my [github](https://github.com/mauricelambert/WebScriptsContainers).\r\n\r\n### WebScripts with Apache deployment using mod_wsgi\r\n\r\n#### Docker hub\r\n\r\n##### Demo\r\n\r\n[![Deploy WebScripts - Youtube](https://img.youtube.com/vi/NhRpaRCNVVs/0.jpg)](http://www.youtube.com/watch?v=NhRpaRCNVVs)\r\n\r\n*Deploy WebScripts with Docker - Youtube video*\r\n\r\n##### Download\r\n\r\nUsing default docker image:\r\n\r\n```bash\r\ndocker pull mauricelambert/webscripts\r\n```\r\n\r\nUsing default docker image:\r\n\r\n```bash\r\ndocker pull mauricelambert/webscripts:latest\r\n```\r\n\r\nUsing specific version of WebScripts:\r\n\r\n```bash\r\ndocker pull mauricelambert/webscripts:apache_3.0.11\r\n```\r\n\r\n##### Run\r\n\r\nFor test:\r\n\r\n```bash\r\ndocker run --name WebScripts -d mauricelambert/webscripts:apache_3.0.11\r\n```\r\n\r\nFor deployment:\r\n\r\n```bash\r\ndocker run --name WebScripts --restart always -p 80:80/tcp -p 443:443/tcp --mount type=volume,source=apache_webscripts_data,target=/usr/src/WebScripts/lib/data -d mauricelambert/webscripts:apache_3.0.11\r\n```\r\n\r\n#### Github\r\n\r\n##### Clone\r\n\r\n```bash\r\ngit clone https://github.com/mauricelambert/WebScriptsContainers.git\r\n```\r\n\r\n##### Build\r\n\r\nNOTE: the volume is not compatible with the Nginx deployment and the basic WebScripts container because the owner is not the same, you should change the owner of each files to use the apache deployment volume with nginx container or the basic WebScripts container.\r\n\r\n```bash\r\ncd apache\r\ndocker build --build-arg PASS=\u003cAdminPassword\u003e -t apache_webscripts .\r\ndocker volume create apache_webscripts_data\r\n```\r\n\r\n##### Run\r\n\r\nFor test:\r\n\r\n```bash\r\ndocker run --name WebScripts -d apache_webscripts\r\n```\r\n\r\nFor deployment:\r\n\r\n```bash\r\ndocker run --name WebScripts --restart always -p 80:80/tcp -p 443:443/tcp --mount type=volume,source=apache_webscripts_data,target=/usr/src/WebScripts/data -d apache_webscripts\r\n```\r\n\r\n### WebScripts with Nginx as HTTPS proxy\r\n\r\n#### Docker hub\r\n\r\n##### Download\r\n\r\n```bash\r\ndocker pull mauricelambert/webscripts:nginx_3.0.11\r\n```\r\n\r\n##### Run\r\n\r\nFor test:\r\n\r\n```bash\r\ndocker run --name WebScripts -it --rm mauricelambert/webscripts:nginx_3.0.11\r\n```\r\n\r\nFor deployment:\r\n\r\n```bash\r\ndocker run --name WebScripts --restart always -p 80:80/tcp -p 443:443/tcp --mount type=volume,source=apache_webscripts_data,target=/usr/src/WebScripts/data -d mauricelambert/webscripts:nginx_2.4.9\r\n```\r\n\r\n#### Github\r\n\r\n##### Clone\r\n\r\n```bash\r\ngit clone https://github.com/mauricelambert/WebScriptsContainers.git\r\n```\r\n\r\n##### Build\r\n\r\nNOTE: the volume is compatible with the basic WebScripts container but not with the Apache deployment because the owner is not the same, you should change the owner of each files to use the nginx deployment volume with apache container.\r\n\r\n```bash\r\ncd nginx\r\ndocker build --build-arg PASS=\u003cAdminPassword\u003e -t nginx_webscripts .\r\ndocker volume create webscripts_data\r\n```\r\n\r\n##### Run\r\n\r\nFor test:\r\n\r\n```bash\r\ndocker run --name WebScripts -it --rm nginx_webscripts\r\n```\r\n\r\nFor deployment:\r\n\r\n```bash\r\ndocker run --name WebScripts --restart always -p 80:80/tcp -p 443:443/tcp --mount type=volume,source=apache_webscripts_data,target=/usr/src/WebScripts/data -d nginx_webscripts\r\n```\r\n\r\n### Simple WebScripts\r\n\r\n**The connection is not secure** (the socket is not secure by SSL. It's HTTP not HTTPS).\r\n\r\n#### Docker hub\r\n\r\n##### Download\r\n\r\n```bash\r\ndocker pull mauricelambert/webscripts:3.0.11\r\n```\r\n\r\n##### Run\r\n\r\nFor test:\r\n\r\n```bash\r\ndocker run --name WebScripts -it --rm mauricelambert/webscripts:3.0.11\r\n```\r\n\r\nFor deployment:\r\n\r\n```bash\r\ndocker run --name WebScripts --restart always -p 80:8000/tcp --mount type=volume,source=apache_webscripts_data,target=/usr/src/WebScripts/data -d mauricelambert/webscripts:3.0.11\r\n```\r\n\r\n#### Github\r\n\r\n##### Clone\r\n\r\n```bash\r\ngit clone https://github.com/mauricelambert/WebScriptsContainers.git\r\n```\r\n\r\n##### Build\r\n\r\nNOTE: the volume is compatible with the Nginx deployment but not with the Apache deployment because the owner is not the same, you should change the owner of each files to use the basic WebScripts deployment volume with apache container.\r\n\r\n```bash\r\ncd simple\r\ndocker build --build-arg PASS=\u003cAdminPassword\u003e -t webscripts .\r\ndocker volume create webscripts_data\r\n```\r\n\r\n##### Run\r\n\r\nFor test:\r\n\r\n```bash\r\ndocker run --name WebScripts -it --rm webscripts\r\n```\r\n\r\nFor deployment:\r\n\r\n```bash\r\ndocker run --name WebScripts --restart always -p 80:8000/tcp --mount type=volume,source=apache_webscripts_data,target=/usr/src/WebScripts/data -d webscripts\r\n```\r\n\r\n### Useful commands\r\n\r\n#### Console output\r\n\r\n```bash\r\ndocker logs \u003cdockerID\u003e\r\n```\r\n\r\n#### Pull files\r\n\r\n```bash\r\ndocker cp \u003cdockerID\u003e:/usr/src/WebScripts/data data\r\ndocker cp \u003cdockerID\u003e:/usr/src/WebScripts/hardening/audit.html audit.html\r\ndocker cp \u003cdockerID\u003e:/usr/src/WebScripts/logs logs\r\n```\r\n\r\n#### Interactive Bash in the container\r\n\r\n```bash\r\ndocker exec -it WebScripts bash\r\n```\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauricelambert%2Fwebscriptscontainers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmauricelambert%2Fwebscriptscontainers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauricelambert%2Fwebscriptscontainers/lists"}