Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seifer08ms/docker-xx-net
Docker images of XX-net
https://github.com/seifer08ms/docker-xx-net
docker dockerfile proxy-server xx-net
Last synced: 8 days ago
JSON representation
Docker images of XX-net
- Host: GitHub
- URL: https://github.com/seifer08ms/docker-xx-net
- Owner: seifer08ms
- License: mit
- Created: 2017-02-15T03:40:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-30T11:45:35.000Z (over 7 years ago)
- Last Synced: 2024-11-28T22:33:41.612Z (2 months ago)
- Topics: docker, dockerfile, proxy-server, xx-net
- Language: Python
- Size: 34.4 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker-XX-net
## Build
Run the following code in the path of repository to build a docker image.
`docker build -t seifer08ms/xx-net . `
## Run
Using `docker run` command to create a container named `xx-net`.
`docker run --name=xx-net --restart=always -d -v $PWD/data:/opt/XX-Net/data -v $PWD/code:/opt/XX-Net/code -p 8085:8085 -p 8087:8087 seifer08ms/xx-net`
## Access from host
The container exposed 8085 and 8087 ports for config and connection.
### Remote access
Modify XX-Net/data/launcher/config.yaml
```shell
modules:{
launcher:{ allow_remote_connect:1 }
```### GAE_proxy service for remote hosts
Add XX-Net/data/gae_proxy/manual.ini```shell
[listen]
ip = 0.0.0.0
```Now we can access control page for the container with `http://127.0.0.1:8085`
## Access from other container
Using `docker run --link` to connect xx-net with other client container.
`docker run --name ${CONTAINER_NAME} --link ${XX_NET_CONTAINER_NAME}:proxy_server -d --restart=always ${IMAGE_NAME}`
In the client container, using `http://proxy_server:8087` to access xx-net service.
## Contribute
[https://github.com/XX-net/XX-Net/wiki/How-to-contribute](https://github.com/XX-net/XX-Net/wiki/How-to-contribute)