Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dockerfile for WebScripts project.

License

NotificationsYou must be signed in to change notification settings

mauricelambert/WebScriptsContainers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebScripts Logo

WebScripts containers - Docker

WebScripts

Description

WebScripts is a tool to run scripts and display the result in a Web Interface.

Documenation

The documentation is available onreadthedocs and on mygithub wiki.

Sources

Sources are available on mygithub.

Containers

Three tags are available onDocker hub.

  1. The WebScripts Server (tag is theversion, example:3.0.11)
  2. Deployment of WebScripts Server with Apache and mod_wsgi (tag areapache_<version>, example:apache_3.0.11 andlastest,default container)
  3. Deployment of WebScripts Server with Nginx as HTTPS proxy (tag isnginx_<version>, example:nginx_3.0.11)

Dockerfiles are available on mygithub.

WebScripts with Apache deployment using mod_wsgi

Docker hub

Demo

Deploy WebScripts - Youtube

Deploy WebScripts with Docker - Youtube video

Download

Using default docker image:

docker pull mauricelambert/webscripts

Using default docker image:

docker pull mauricelambert/webscripts:latest

Using specific version of WebScripts:

docker pull mauricelambert/webscripts:apache_3.0.11
Run

For test:

docker run --name WebScripts -d mauricelambert/webscripts:apache_3.0.11

For deployment:

docker 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

Github

Clone
git clone https://github.com/mauricelambert/WebScriptsContainers.git
Build

NOTE: 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.

cd apachedocker build --build-arg PASS=<AdminPassword> -t apache_webscripts.docker volume create apache_webscripts_data
Run

For test:

docker run --name WebScripts -d apache_webscripts

For deployment:

docker 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

WebScripts with Nginx as HTTPS proxy

Docker hub

Download
docker pull mauricelambert/webscripts:nginx_3.0.11
Run

For test:

docker run --name WebScripts -it --rm mauricelambert/webscripts:nginx_3.0.11

For deployment:

docker 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

Github

Clone
git clone https://github.com/mauricelambert/WebScriptsContainers.git
Build

NOTE: 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.

cd nginxdocker build --build-arg PASS=<AdminPassword> -t nginx_webscripts.docker volume create webscripts_data
Run

For test:

docker run --name WebScripts -it --rm nginx_webscripts

For deployment:

docker 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

Simple WebScripts

The connection is not secure (the socket is not secure by SSL. It's HTTP not HTTPS).

Docker hub

Download
docker pull mauricelambert/webscripts:3.0.11
Run

For test:

docker run --name WebScripts -it --rm mauricelambert/webscripts:3.0.11

For deployment:

docker 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

Github

Clone
git clone https://github.com/mauricelambert/WebScriptsContainers.git
Build

NOTE: 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.

cd simpledocker build --build-arg PASS=<AdminPassword> -t webscripts.docker volume create webscripts_data
Run

For test:

docker run --name WebScripts -it --rm webscripts

For deployment:

docker run --name WebScripts --restart always -p 80:8000/tcp --mount type=volume,source=apache_webscripts_data,target=/usr/src/WebScripts/data -d webscripts

Useful commands

Console output

docker logs<dockerID>

Pull files

docker cp<dockerID>:/usr/src/WebScripts/data datadocker cp<dockerID>:/usr/src/WebScripts/hardening/audit.html audit.htmldocker cp<dockerID>:/usr/src/WebScripts/logs logs

Interactive Bash in the container

dockerexec -it WebScripts bash

About

Dockerfile for WebScripts project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp