add some of server (diesel, eventlet, gevent, paste, twisted, waitress, wsgiref) in some os

This commit is contained in:
sugizo
2018-06-02 06:53:31 +07:00
parent 14083907e5
commit 3585ef828e
172 changed files with 3567 additions and 170 deletions
+41
View File
@@ -0,0 +1,41 @@
# Start Service
systemctl start docker
# Docker
cd /Docker/App/web2py-paste
docker build -t your_username/app-web2py-paste .
docker run -d -v applications:/home/web2py/web2py/applications -p 8000:8000 --name app-web2py-paste your_username/app-web2py-paste
docker ps
docker volume ls
docker volume inspect applications
# Docker Compose
pip install docker-compose
cd /Docker/App/web2py-paste
docker-compose up -d
docker-compose ps
docker volume ls
docker volume inspect root_applications
# Docker Cloud
cd /Docker/App/web2py-paste
docker login -u your_username
docker build -t your_username/app-web2py-paste .
docker push your_username/app-web2py-paste
# Shell (Copy the content of the file into this scaffolding shell and replace the variable text $ with \$ )
cat << EOF > docker-compose.yml
EOF
cat docker-compose.yml
cat << EOF > Dockerfile
EOF
cat Dockerfile
docker build -t your_username/app-web2py-paste .
docker run -d -v applications:/home/web2py/web2py/applications -p 8000:8000 --name app-web2py-paste your_username/app-web2py-paste
docker-compose up -d
docker-compose ps