1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-28 09:10:30 +00:00

Updated Docker Installation (textile)

catborise 2020-01-14 11:36:06 +03:00
parent 784ea43c66
commit 9f2ab5226c

@ -21,11 +21,11 @@ rm /tmp/key.py
</code></pre>
# Copy 'generated code' and paste it to webvirtcloud/settings.py as SECRET_KEY = ''
# Build the docker container
<pre><code>docker build -t retspen/webvirtcloud:0.1 .</code></pre>
<pre><code>docker build -t retspen/webvirtcloud:1 .</code></pre>
# Start the container. *Use this command only for the first start*
<pre><code>docker run -d -p 80:80 -p 6080:6080 retspen/webvirtcloud:0.1</code></pre>
<pre><code>docker run -d -p 80:80 -p 6080:6080 retspen/webvirtcloud:1</code></pre>
# (Optional) If you want you can change the port of the webpage by changing the previous command
<pre><code>docker run -d -p <port>:80 -p 6080:6080 retspen/webvirtcloud:0.1</code></pre>
<pre><code>docker run -d -p <port>:80 -p 6080:6080 retspen/webvirtcloud:1</code></pre>
# Run browser enter host url with http.
# Login with: Username admin, password admin
# Change your admin password