Skip to content

Commit

Permalink
enable logs for smtp relay
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur committed May 7, 2019
1 parent 30acaf8 commit 136a4cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ fact_caching = memory
forks = 20
timeout = 20
roles_path = roles
deprecation_warnings=False
[ssh_connection]
retries = 5
ssh_args = -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ControlPath=/var/tmp/ansible-ssh-%h-%p-%r -o ControlPersist=20m -o ControlMaster=auto
Expand Down
5 changes: 5 additions & 0 deletions roles/smtp_relay/templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ services:
- "{{ smtp_tcp_port }}:{{ smtp_tcp_port }}"
networks:
- cdt
logging:
driver: "syslog"
options:
syslog-facility: "local2"
tag: "docker/{% raw %}{{.Name}}{% endraw %}"

networks:
cdt:
Expand Down

0 comments on commit 136a4cb

Please sign in to comment.