https://github.com/nekmo/nginx-dynamic-ips
https://github.com/nekmo/nginx-dynamic-ips
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/nekmo/nginx-dynamic-ips
- Owner: Nekmo
- License: mit
- Created: 2019-06-28T08:35:37.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-01T12:38:09.000Z (about 7 years ago)
- Last Synced: 2025-02-05T16:36:27.901Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Docker-compose usage
====================
.. code-block::
nginx-ips:
build: https://github.com/Nekmo/nginx-dynamic-ips.git
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "./data/nginx-ips/input:/input"
- "/usr/bin/docker:/usr/bin/docker:ro"
volumes_from:
- "nginx"
environment:
OUTPUT_FILE: "/etc/nginx/allowed_ips.conf"
LOOP_FOREVER: 10
NGINX_CONTAINER: project_nginx_1