Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmetozer/easy-ingress
Basic ingress for my non IPv6 supported servers.
https://github.com/ahmetozer/easy-ingress
container docker easy-to-use nginx nginx-proxy
Last synced: about 1 month ago
JSON representation
Basic ingress for my non IPv6 supported servers.
- Host: GitHub
- URL: https://github.com/ahmetozer/easy-ingress
- Owner: ahmetozer
- License: mit
- Created: 2020-08-24T21:38:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-06T20:39:52.000Z (over 4 years ago)
- Last Synced: 2024-11-08T02:53:29.578Z (3 months ago)
- Topics: container, docker, easy-to-use, nginx, nginx-proxy
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Easy Ingress
**Just Pass request to hostnames**
Create docker network for web applications
```bash
docker network create webNetwork
```Run web applications with name property
```bash
# Example web app. You can run your own app
docker run --rm -d --name amsterdam-nts.ahmetozer.org --network web ahmetozer/net-tools-service
```Run docker container with hostname setting. Do not forget to add your network name as a hostname.
This is prevents network outside proxies.```bash
docker run -d --network webNetwork --hostname webNetwork --restart always -p 80:80 -p 443:443 ahmetozer/easy-ingress
```With your ssl keys.
```bash
docker run -it --name looking-glass --restart always \
-p 80:80 -p 443:443 \
--mount type=bind,source="myssl.crt",target=/etc/ssl/certs/project.crt,readonly \
--mount type=bind,source="myssl.key",target=/etc/ssl/private/project.key,readonly \
ahmetozer/easy-ingress
```Port 8443 is forward https requests to http.
```bash
docker run -d --network webNetwork --hostname webNetwork --restart always -p 80:80 -p 443:8443 ahmetozer/easy-ingress
```