Commit 3b6485dd authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

Add more docs. [skip ci]

parent ce21fdb2
Pipeline #4459 skipped
......@@ -81,11 +81,8 @@ On each node
Do not forget to change tower's admin password
(Upper right menu > Change Password)
## Environment variables used by tower
## Advanced topics
Several settings can be read from environment variables.
* `TOWER_RUN_CHECKS=` -- Run ansible checks. On well maintained system there is a way to save some time disabling consistency checks. Valid modes True(default), False.
* `TOWER_SHOW_SECRETS=` -- Run ansible showing and saving all secret data. Passwords and tokens will be shown and saved to log in that mode. Valid modes False(default), True.
* `TOWER_VERSION=` -- Internal var. Used to check if tower generates inventory well.
* `TOWER_DB_PATH=` -- Internal var. Used to specify `config.db` path
\ No newline at end of file
* [Quick docker-compose notes](docs/docker-compose.md)
* [Environment variables](docs/env.md)
* [Writing own roles](docs/roles.md)
\ No newline at end of file
# Docker-compose cheat sheet
```
$ docker-compose up -d # start containers in background
$ docker-compose stop # stop containers
$ docker-compose rm -v # remove stopped containers and volumes
$ docker-compose ps # see list of running containers
```
# Enter tower shell
```
$ docker-compose exec tower sh
```
# Show current version
```
$ docker-compose images # tag and images id
```
# Update tower
```
$ docker-compose pull # get latest container version
$ docker-compose up -d # start containers in background
```
# View logs
```
$ docker-compose logs tower # all logs
$ docker-compose logs -f tower # see all and follow new logs
$ docker-compose logs -f --tail=10 tower # show last 10 and follow. most useful one
```
# Environment variables used by tower
Several settings can be read from environment variables.
* `TOWER_RUN_CHECKS=` -- Run ansible checks. On well maintained system there is a way to save some time disabling consistency checks. Valid modes True(default), False.
* `TOWER_SHOW_SECRETS=` -- Run ansible showing and saving all secret data. Passwords and tokens will be shown and saved to log in that mode. Valid modes False(default), True.
* `TOWER_VERSION=` -- Internal var. Used to check if tower generates inventory well.
* `TOWER_DB_PATH=` -- Internal var. Used to specify `config.db` path
\ No newline at end of file
# Roles
Tower can be used to launch your own roles. There are few conceptions that should be metioned for doing that.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment