1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
awx/tools/docker-compose
2018-06-22 09:35:28 -04:00
..
awx.egg-info Remove ansible reference from dev PKG-INFO 2017-07-26 14:18:19 -04:00
unit-tests run network ui tests in shippable and Jenkins 2018-05-24 09:07:53 -04:00
awx-manage Mass rename from ansible_(awx|tower) -> (awx|tower) 2017-07-26 13:33:26 -04:00
awx.egg-link Mass rename from ansible_(awx|tower) -> (awx|tower) 2017-07-26 13:33:26 -04:00
bootstrap_development.sh Add awx-link make target 2018-04-25 11:55:57 -04:00
Dockerfile add xmlsec flag to docker installs 2018-03-14 14:28:35 -04:00
Dockerfile-haproxy Initial Docker Compose workflow for Tower cluster 2016-09-08 10:18:14 -04:00
Dockerfile-logstash output logs to /logstash.conf in our default compose file 2017-03-16 13:20:33 -04:00
Dockerfile-sync Updating docker dev workflow 2016-06-08 12:25:14 -04:00
haproxy.cfg Tower -> AWX Tooling Migration 2017-07-21 17:06:45 -04:00
logstash.conf Refactor log handler and support TCP/UDP communications 2017-04-25 11:07:57 -04:00
nginx.conf update uwsgi/nginx dev configuration 2016-12-12 12:42:20 -05:00
nginx.vh.default.conf Fixes timeout when exporting YAML from network UI 2018-05-02 10:31:36 -04:00
Procfile Adding jupyter notebook support to the AWX development environment 2017-12-05 23:46:18 -05:00
proot.repo Initial qpid development work 2016-08-24 16:23:47 -04:00
README more tower -> awx for task execution and isolated tooling 2017-07-25 10:36:06 -04:00
start_development.sh Force the python IO encoding to be utf_8 when using honcho 2018-06-22 09:35:28 -04:00
supervisor.conf update the dev supervisor file to match recent change 2018-04-20 14:53:21 -04:00

docker build --no-cache=true --rm=true -t ansible/awx_devel:latest .
docker run --name awx_test -it --memory="4g" --cpuset="0,1" -v /Users/meyers/ansible/:/awx_devel -p 8013:8013 -p 8080:8080 -p 27017:27017 -p 2222:22 ansible/awx_devel

## How to use the logstash container

POST the following content to `/api/v1/settings/logging/` (this uses
authentication set up inside of the logstash configuration file).

```
{
    "LOG_AGGREGATOR_HOST": "logstash",
    "LOG_AGGREGATOR_PORT": 8085,
    "LOG_AGGREGATOR_TYPE": "logstash",
    "LOG_AGGREGATOR_USERNAME": "awx_logger",
    "LOG_AGGREGATOR_PASSWORD": "workflows",
    "LOG_AGGREGATOR_LOGGERS": [
        "awx",
        "activity_stream",
        "job_events",
        "system_tracking"
    ],
    "LOG_AGGREGATOR_INDIVIDUAL_FACTS": false,
    "LOG_AGGREGATOR_TOWER_UUID": "991ac7e9-6d68-48c8-bbde-7ca1096653c6",
    "LOG_AGGREGATOR_ENABLED": true
}
```

An example of how to view the most recent logs from the container:

```
docker exec -i -t $(docker ps -aqf "name=tools_logstash_1") tail -n 50 /logstash.log
```