<commit_before># rancher-metadata-proxy

A reverse proxy to expose Rancher's Metadata Service publicly.

## Usage

### Build

    $ docker build -t rancher-metadata-proxy .

### Run

Typically:

    $ docker run -itd rancher-metadata-proxy

#### Runtime Environment Variables

There should be a reasonable amount of flexibility using the available variables. If not please raise an issue so your use case can be covered!

- `HTTP_USER` - The HTTP basic auth user, default `rancher`
- `HTTP_PASSWORD` - The HTTP basic auth user's password, default `rancher`

### Tag and Push

    $ docker tag -f rancher-metadata-proxy flaccid/rancher-metadata-proxy
    $ docker push flaccid/rancher-metadata-proxy

License and Authors
-------------------
- Author: <NAME> (<<EMAIL>>)

```text
Copyright 2016, <NAME>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at<commit_msg>Add needed label for overlay network with docker run.<commit_after># rancher-metadata-proxy

A reverse proxy to expose Rancher's Metadata Service publicly.

## Usage

### Build

    $ docker build -t rancher-metadata-proxy .

### Run

Typically:

    $ docker run -itd --label=io.rancher.container.network=true rancher-metadata-proxy

#### Runtime Environment Variables

There should be a reasonable amount of flexibility using the available variables. If not please raise an issue so your use case can be covered!

- `HTTP_USER` - The HTTP basic auth user, default `rancher`
- `HTTP_PASSWORD` - The HTTP basic auth user's password, default `rancher`

### Tag and Push

    $ docker tag -f rancher-metadata-proxy flaccid/rancher-metadata-proxy
    $ docker push flaccid/rancher-metadata-proxy

License and Authors
-------------------
- Author: <NAME> (<<EMAIL>>)

```text
Copyright 2016, <NAME>ham

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
{'fraction_non_alphanumeric': 0.1054172767203514, 'fraction_numerical': 0.005856515373352855, 'mean_word_length': 3.680365296803653, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1132904', 'n_tokens_mistral': 612, 'n_tokens_neox': 571, 'n_words': 246}