codepot/docker
2022-10-17 23:31:51 +09:00
..
apache2-mod-perl removed the top-level directory 2022-10-17 23:31:51 +09:00
alpine-httpd-fg.sh removed the top-level directory 2022-10-17 23:31:51 +09:00
apache2-fg.sh removed the top-level directory 2022-10-17 23:31:51 +09:00
Dockerfile.alpine removed the top-level directory 2022-10-17 23:31:51 +09:00
Dockerfile.rocky removed the top-level directory 2022-10-17 23:31:51 +09:00
Dockerfile.ubnt removed the top-level directory 2022-10-17 23:31:51 +09:00
httpd-fg.sh removed the top-level directory 2022-10-17 23:31:51 +09:00
Makefile.am removed the top-level directory 2022-10-17 23:31:51 +09:00
Makefile.in removed the top-level directory 2022-10-17 23:31:51 +09:00
README.md removed the top-level directory 2022-10-17 23:31:51 +09:00

If you require the root privilege to build a docker image, specify sudo in DOCKER.

make rocky DOCKER="sudo docker"
make ubnt DOCKER="sudo docker"

Run the service like

docker run -dit --restart=unless-stopped --name=codepot codepot:ubnt
docker run -dit --restart=unless-stopped --name=codepot -p 80:80 codepot:ubnt
docker run -dit --restart=unless-stopped --name=codepot -p 80:80 -v /home/container-data/codepot:/var/lib/codepot codepot:ubnt
docker run -dit --restart=unless-stopped --name=codepot -p 1200:1200 -v /home/container-data/codepot:/var/lib/codepot codepot:ubnt --port 1200 --hide-index-page=yes --https-redirected=yes

Run the shell on the existing container for in-container management.

docker exec -it codepot /bin/bash