Sign inSign up

ivstiv/virtualizor-docker

By ivstiv

Updated almost 2 years ago

Virtualizor panel running inside docker.

Image
Networking
Developer tools
Operating systems
0

1.5K

ivstiv/virtualizor-docker repository overview

virtualizor-docker

This is unofficial image that aims to ease the setup of a Virtualizor master server, getting a VPS panel up and running in minutes. Virtualizor is a powerful web based VPS Control Panel which a user can deploy and manage VPS on servers with a single click. This image will install ONLY the master server from which you can control your slave servers.

Github Discord

Version Tags

Thelatest tag usually provides the latest stable version ready for production use.

TagDescription
latestStable releases
experimentalTesting new features

Usage

The container will install Virtualizor and all of its components on its first run, so it is recommened to run it with an attached shell to make sure the installation has finished. After that you can access the admin panel with user root and the specified password from you.

docker-compose
version: "3"
services:
  virtualizor:
    image: ivstiv/virtualizor-docker:latest
    restart: unless-stopped
    environment:
      - "PUID=1000"
      - "PGID=1000"
      - "PASSWORD=changeme"
      - "[email protected]"
    volumes:
      - ./virtualizor-data/emps:/usr/local/emps/:rw
      - ./virtualizor-data/init:/etc/init.d/:rw
      - ./virtualizor-data/virtualizor:/usr/local/virtualizor/:rw
      - ./virtualizor-data/cron:/etc/cron.d/:rw
      - /etc/localtime:/etc/localtime:ro
    ports:
        # "HOST PORT:CONTAINER PORT" Change the container host port if you want to change what ports you are using
      - "4082:4082"
      - "4083:4083"
      - "80:4084"
      - "443:4085"

# start the container with attached shell the first time to make sure the installation has finished
docker compose up

# any consecutive times you can just start it in the background
docker compose up -d
docker cli
# make sure the ports that you are binding to are open and free
docker create \
        --name virtualizor \
        -p "4082:4082" \
        -p "4083:4083" \
        -p "80:4084" \
        -p "443:4085" \
        -e PUID=1000 \
        -e PGID=1000 \
        -e PASSWORD="changeme" \
        -e EMAIL="[email protected]" \
        -v "/etc/localtime":/etc/localtime:ro \
        -v "$(pwd)/virtualizor-data/emps":/usr/local/emps \
        -v "$(pwd)/virtualizor-data/init":/etc/init.d \
        -v "$(pwd)/virtualizor-data/virtualizor":/usr/local/virtualizor \
        -v "$(pwd)/virtualizor-data/cron":/etc/cron.d \
        ivstiv/virtualizor-docker

# start the container with attached shell the first time to make sure the installation has finished
docker start -a virtualizor

# any consecutive times you can just start it in the background
docker start virtualzior

Successfull installation

Here is what a successfull install of the panel should look like after its first start:

-------------------------------------
 Installation Completed 
-------------------------------------
Congratulations, Virtualizor has been successfully installed
 
API KEY : MNyzkfhYefCS3RwNLDSHHJaEcSkEWWPE
API Password : rPPWu905v9VwEb3qvmZ1cNHiJHqmKQwz 
 
For ADMIN login, please use the following URL :
Username: root
Password: The password you set during the installation
https://45.76.133.146:443
OR
http://45.76.133.146:80
 
For USER login, please use the following URL :
https://45.76.133.146:4083
OR
http://45.76.133.146:4082
 
Thank you for choosing Softaculous Virtualizor !

Parameters

Container images are configured using parameters passed at runtime. For example, -p 80:4084 would expose port 4084 from inside the container to be accessible from the host's IP on port 80 outside the container.

ParameterFunction
-p 4082:4082Port for User panel served over HTTP.
-p 4083:4083Port for User panel served over HTTPS.
-p 80:4084Port for Admin panel served over HTTP.
-p 443:4085Port for Admin panel served over HTTPS.
-e PASSWORD=changemeThe admin password for the panel.
-e EMAIL=youremail@localhostThe email of the license that you want to use.
-e PUID=1000for UserID
-e PGID=1000for GroupID
-v /etc/localtimeMake the container aware of the operating timezone.
-v /usr/local/empsContains the master file system of the panel.
-v /usr/local/virtualizorContains the panel's data.
-v /etc/cron.dContains the panel's crontab directory.
-v /initHolds the main service daemon that manages php, web server and the database.

Building Locally

Check the Github repository to find scripts and steps to build the image yourself.

Updates

Tag summary

Content type

Image

Digest

sha256:683b2fcd9

Size

167 MB

Last updated

almost 2 years ago

docker pull ivstiv/virtualizor-docker