Skip to content

Commit

Permalink
Supervisord makes log outside of container
Browse files Browse the repository at this point in the history
  • Loading branch information
sielaq committed Oct 9, 2016
1 parent 8d5703a commit 7b76a6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-compose.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ panteras:
- "/var/lib/docker:/var/lib/docker"
- "/sys:/sys"
- "/tmp/mesos:/tmp/mesos"
- "/tmp/supervisord:/tmp/supervisord"
- "/tmp/consul/data:/opt/consul/data"
- "/proc:/host/proc:ro"
- "/sys:/host/sys:ro"
Expand Down
4 changes: 3 additions & 1 deletion infrastructure/supervisord.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[supervisord]
nodaemon=true
childlogdir=/tmp/supervisord
logfile=/tmp/supervisord/supervisord.log

[unix_http_server]
file=/tmp/supervisor.sock
Expand Down Expand Up @@ -122,4 +124,4 @@ autorestart=true
autostart=%(ENV_START_NETDATA)s
user=root
stdout_events_enabled = true
stderr_events_enabled = true
stderr_events_enabled = true

0 comments on commit 7b76a6c

Please sign in to comment.