2023-05-02 18:49:18 +02:00
|
|
|
# Configure
|
|
|
|
|
2023-05-03 22:35:19 +02:00
|
|
|
```bash
|
|
|
|
ansible-galaxy collection install community.docker
|
|
|
|
```
|
|
|
|
|
2023-05-02 18:49:18 +02:00
|
|
|
```bash
|
|
|
|
ansible-playbook playbook.yml --ask-become-pass
|
2023-05-21 20:13:10 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
# UTILS
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cd $(docker volume inspect [NAME] | jq -r '.[0].Mountpoint')
|
2023-09-25 12:23:11 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
# LOGGING
|
|
|
|
|
|
|
|
```yml
|
|
|
|
logging:
|
|
|
|
driver: loki
|
|
|
|
options:
|
|
|
|
loki-url: "https://[username]:[password]@[url]/loki/api/v1/push"
|
|
|
|
|
|
|
|
logging:
|
|
|
|
driver: none
|
2023-05-02 18:49:18 +02:00
|
|
|
```
|