https://github.com/beginor/docker-jexus
Jexus web server in docker
https://github.com/beginor/docker-jexus
Last synced: 10 months ago
JSON representation
Jexus web server in docker
- Host: GitHub
- URL: https://github.com/beginor/docker-jexus
- Owner: beginor
- License: mit
- Created: 2016-07-05T08:26:30.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-04-12T09:36:10.000Z (about 7 years ago)
- Last Synced: 2025-04-04T18:19:26.328Z (about 1 year ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jexus in docker
## Version Info:
- Jexus 5.8.3.10
- Mono 5.10.1.47
- Ubuntu 16.04 (TimeZone set to Asia/Shanghai)
## Usage:
1. Get the image with command:
```sh
docker pull beginor/jexus:5.8.3.10
```
2. Prepare the directors for volumes:
```sh
mkdir -p "$(pwd)/jexus/conf"
mkdir -p "$(pwd)/jexus/www"
mkdir -p "$(pwd)/jexus/log"
```
3. Copy your website config file to `$(pwd)/jexus/conf` folder, Copy your websites to `$(pwd)/jexus/www` folder
4. Run the image with command:
```sh
docker run \
--detach \
--name jexus \
--restart unless-stopped \
--publish 9999:80 \
--volume $(pwd)/jexus/www:/var/www \
--volume $(pwd)/jexus/conf:/usr/jexus/siteconf \
--volume $(pwd)/jexus/log:/usr/jexus/log \
beginor/jexus:5.8.3.10
```
5. Then browse [http://127.0.0.1:9999/info](http://127.0.0.1:9999/info) with your faverite borwser, see what happens.
> You can change the port 9999 as your like.