updated README.md

This commit is contained in:
hyung-hwan 2021-02-06 03:18:45 +00:00
parent fcf4085d7a
commit bae3f6aec0

View File

@ -11,13 +11,15 @@
The easiest wasy to get codepot up and running is to run it in docker. The easiest wasy to get codepot up and running is to run it in docker.
You may pull the image from the Docker Hub and run a container from the image. You may pull the image from the Docker Hub and run a container from the image.
For example, For example, you may run the following commands to start the container.
``` ```
$ docker pull hyunghwan/codepot:ubnt20.04 $ docker pull hyunghwan/codepot:ubnt20.04
$ docker run -dit --restart unless-stopped --name codepot -p 7000:80 hyunghwan/codepot:ubnt20.04 $ docker run -dit --restart unless-stopped --name codepot -p 7000:80 hyunghwan/codepot:ubnt20.04
``` ```
Then you can open a web browser to http://docker-host-address:7000/ to access the codepot system.
The image runs the apache2 server in the foreground by default. You may open The image runs the apache2 server in the foreground by default. You may open
a shell session to configure various aspects of codepot. a shell session to configure various aspects of codepot.