<commit_before>[![Circle CI](https://circleci.com/gh/IntimateMerger/dockerfile-rundeck/tree/master.svg?style=svg)](https://circleci.com/gh/IntimateMerger/dockerfile-rundeck/tree/master)

# Rundeck Dockerfile
Dockerfile for [Rundeck](http://rundeck.org/) on AWS

## How to use this image

### Environment

If you don't set the env, Rundeck use the default env.

```yml
TZ: Asia/Tokyo

RUNDECK_PORT: 4440
RUNDECK_URL:

# MySQL
RUNDECK_MYSQL_HOST:
RUNDECK_MYSQL_DATABASE: rundeck
RUNDECK_MYSQL_USERNAME: rundeck
RUNDECK_MYSQL_PASSWORD: <PASSWORD>

# Rundeck EC2 Nodes Plugin
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:

# Rundeck S3 Log Storage Plugin
AWS_SECRET_KEY:
RUNDECK_S3_BUCKET:
RUNDECK_S3_REGION: ap-northeast-1
```

### Example

```bash
$ docker run -d -p 4440:4440 \
    -e "RUNDECK_URL=https://rundeck.example.com" \
    -e "RUNDECK_S3_BUCKET=rundeck-example" \
    -e "RUNDECK_MYSQL_HOST=example.ap-northeast-1.rds.amazonaws.com" \
    -t intimatemerger/rundeck:latest
```<commit_msg>change readme<commit_after>[![Circle CI](https://circleci.com/gh/IntimateMerger/dockerfile-rundeck/tree/master.svg?style=svg)](https://circleci.com/gh/IntimateMerger/dockerfile-rundeck/tree/master)

# Rundeck Dockerfile
Dockerfile for [Rundeck](http://rundeck.org/) on AWS

## How to use this image

### Environment

If you don't set the env, Rundeck use the default env.

| name | default | description |
| --- | --- | --- |
| TZ | Asia/Tokyo | Timezone |
| RUNDECK_PORT | 4440 | Listen Port |
| RUNDECK_URL |  | exp) https://rundeck.example.com |
| RUNDECK_MYSQL_HOST |  | exp) rundeck.xxxxxxxxxxxxx.ap-northeast-1.rds.amazonaws.com |
| RUNDECK_MYSQL_DATABASE | rundeck |  |
| RUNDECK_MYSQL_USERNAME | rundeck |  |
| RUNDECK_MYSQL_PASSWORD | <PASSWORD> |  |
| AWS_ACCESS_KEY_ID |  | for rundeck-ec2-nodes-plugin |
| AWS_SECRET_ACCESS_KEY |  | for rundeck-ec2-nodes-plugin |
| AWS_SECRET_KEY |  | for rundeck-s3-log-plugin |
| RUNDECK_S3_BUCKET |  | for rundeck-s3-log-plugin |
| RUNDECK_S3_REGION | ap-northeast-1 | for rundeck-s3-log-plugin |

### Example

```bash
$ docker run -d -p 4440:4440 \
    -e "RUNDECK_URL=https://rundeck.example.com" \
    -e "RUNDECK_S3_BUCKET=rundeck-example" \
    -e "RUNDECK_MYSQL_HOST=example.ap-northeast-1.rds.amazonaws.com" \
    -t intimatemerger/rundeck:latest
```
{'fraction_non_alphanumeric': 0.13881636205395997, 'fraction_numerical': 0.018276762402088774, 'mean_word_length': 4.422169811320755, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, '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': '3326795', 'n_tokens_mistral': 1002, 'n_tokens_neox': 933, 'n_words': 150}