![]() |
|
docker & sphereserver - install tutorial - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: General Discussion (/Forum-General-Discussion) +--- Forum: Documentation/Tutorials (/Forum-Documentation-Tutorials) +--- Thread: docker & sphereserver - install tutorial (/Thread-docker-sphereserver-install-tutorial) |
docker & sphereserver - install tutorial - naklma - 02-13-2020 05:11 PM Necessary things: - hub.docker - vps with docker or kubernetes - git repository or local docker My configuration: BitBucket (git repository) -> pipeline -> hub.docker -> artificial ssh cmd -> deploy sh File: Dockerfile Code: FROM amd64/ubuntu:19.04DockerHub: - create repository - create pass for application in setting account Pipeline bitbucket file:bitbucket-pipelines.yml Code: image: atlassian/default-image:2repository variable $DOCKER_HUB_PASSWORD VPS server: in terminal: - docker login (auth you login) Code: mkdir /sphereserverModify sphere.ini ServIP=127.0.0.1 ServPort=2593 RestAPIPublicIP=checkip.amazonaws.com Code: docker network create --driver=bridge --subnet=192.168.100.0/16 --gateway 192.168.100.1 sphereservertry to log in .. it should go .. Firewall enable port 2593 !!! in/out Auxiliary commands: docker exec -it <containerIDorNAME> bash ------ docker logs <containerIDorNAME> ------ docker container stop sphereserver docker container rm sphereserver RE: docker & sphereserver - install tutorial - Jhobean - 02-27-2020 02:35 PM Nice work! Thx |