https://github.com/artioml/adct
:microscope: A small web app container for testing Application Delivery Controllers in lab environments
https://github.com/artioml/adct
apache container docker node-js php web-app websocket
Last synced: 6 months ago
JSON representation
:microscope: A small web app container for testing Application Delivery Controllers in lab environments
- Host: GitHub
- URL: https://github.com/artioml/adct
- Owner: ArtiomL
- License: mit
- Created: 2016-07-12T21:39:50.000Z (about 9 years ago)
- Default Branch: develop
- Last Pushed: 2019-03-14T19:05:49.000Z (over 6 years ago)
- Last Synced: 2023-10-20T10:39:39.607Z (over 1 year ago)
- Topics: apache, container, docker, node-js, php, web-app, websocket
- Language: CSS
- Homepage: https://hub.docker.com/r/artioml/adct/
- Size: 2.25 MB
- Stars: 4
- Watchers: 3
- Forks: 9
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
adct
[](https://travis-ci.org/ArtiomL/adct)
[](https://github.com/ArtiomL/adct/releases)
[](https://github.com/ArtiomL/adct/commits/master)
[](https://github.com/ArtiomL/adct/graphs/code-frequency)
[](https://github.com/ArtiomL/adct/issues)
[](https://hub.docker.com/r/artioml/adct/)
[](/LICENSE)
## Table of Contents
- [Description](#description)
- [Installation](#installation)
- [Main Site](#main-site)
- [WebSocket Echo](#websocket-echo)
- [Service Tree](#service-tree)
- [Customization](#customization)
- [License](LICENSE)
## Description
A small web app container for testing Application Delivery Controllers in lab environments.
## Installation
#### Main Site
```shell
docker run -dit -p 80:8080 -p 443:8443 artioml/adct
```Add a custom node name to the page title (supports HTML "Injection"):
```shell
docker run -dit -p 80:8080 -p 443:8443 -e NODE='Node1' artioml/adct
```#### WebSocket Echo (`/ws/`)
```shell
docker run -dit -p 4433:4433 artioml/adct:ws
```
## Service Tree
```
/
├── secure/
│ └── Basic Authentication (user:user)
├── uri[0-9]*/
│ └── Alias for DocumentRoot (/var/www/adct/)
└── ws/
└── WebSocket Echo
```
## Customization
Add custom CSS or JavaScript by mounting the `css/custom.css` and/or `js/custom.js` file(s) into the container instance. For example:
```
docker run -dit -p 80:8080 -p 443:8443 \
-v /path/to/your.css:/var/www/adct/css/custom.css \
-v /path/to/your.js:/var/www/adct/js/custom.js \
artioml/adct
```