codepot/codepot/docker
2022-08-16 08:34:37 +00:00
..
apache2-fg.sh let httpd-fg.sh and apache2-fg.sh to update PerlSetEnv CODEPOT_CONFIG_FILE 2021-09-08 17:03:09 +00:00
build-rocky8.sh touched up some perl scripts 2022-05-30 01:28:19 +00:00
Dockerfile.rocky8 fixed the id column of the log table for sqlite 2021-09-11 01:02:30 +00:00
Dockerfile.ubnt2004 converted Dockerfile.ubtn2004 to multi-stage build 2022-08-16 08:34:37 +00:00
httpd-fg.sh let httpd-fg.sh and apache2-fg.sh to update PerlSetEnv CODEPOT_CONFIG_FILE 2021-09-08 17:03:09 +00:00
Makefile.am fixed docker/Makefile.am 2021-09-08 15:35:48 +00:00
Makefile.in enhanced the build procedure 2022-02-18 14:51:14 +00:00
README.md fixed indentation in code_file.php 2022-01-11 08:35:50 +00:00

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

make rocky8 DOCKER="sudo docker"
make ubnt2004 DOCKER="sudo docker"

Run the service like

docker run -dit --restart=unless-stopped --name=codepot codepot:ubnt20.04
docker run -dit --restart=unless-stopped --name=codepot -p 80:80 codepot:ubnt20.04
docker run -dit --restart=unless-stopped --name=codepot -p 80:80 -v /home/container-data/codepot:/var/lib/codepot codepot:ubnt20.04
docker run -dit --restart=unless-stopped --name=codepot -p 1200:1200 -v /home/container-data/codepot:/var/lib/codepot codepot:ubnt20.04 --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