https://github.com/initdc/kodbox-docker
kodbox runing on docker
https://github.com/initdc/kodbox-docker
Last synced: about 1 month ago
JSON representation
kodbox runing on docker
- Host: GitHub
- URL: https://github.com/initdc/kodbox-docker
- Owner: initdc
- Created: 2020-06-27T17:46:26.000Z (over 5 years ago)
- Default Branch: 20.04
- Last Pushed: 2023-04-17T16:23:37.000Z (almost 3 years ago)
- Last Synced: 2025-01-20T23:48:34.067Z (about 1 year ago)
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/initdc/kodbox
- Size: 20.7 MB
- Stars: 1
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kodbox on docker
the kodbox runing on `php + nginx + sqlite + redis`
## docker run
quick start
```
docker run -dp 80:80 initdc/kodbox
```
keep files with custom directory
```c
// cd to custom dir you want
cd /root
mkdir -p data data/files
```
```
docker run -p 80:80 -v /root/data/files:/var/www/kodbox/data/files initdc/kodbox
```
## docker-compose
create a file named `docker-compose.yml`
copy the following content to it
```
services:
image: initdc/kodbox
ports:
- 80:80
volumes:
- /root/data/files:/var/www/kodbox/data/files
```
then run with
```
docker-compose up -d
```
## Contributing
[nocode](https://github.com/kelseyhightower/nocode) Thanks for readme template.