File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# dokku-event-listener [ ![ CircleCI] ( https://circleci.com/gh/dokku/dokku-event-listener.svg?style=svg )] ( https://circleci.com/gh/dokku/dokku-event-listener )
22
3- Service that listens to docker events and runs dokku commands.
3+ Plotly Updates: Service that listens to docker events and runs workspace commands.
44
55## Requirements
66
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ type ShellCmd struct {
3131
3232const APIVERSION = "1.25"
3333const DEBUG = true
34- const DOKKU_APP_LABEL = "com.dokku .app-name"
34+ const DOKKU_APP_LABEL = "dds.workspace .app-name"
3535
3636var cm containerMap
3737var dockerClient * client.Client
@@ -161,7 +161,7 @@ func handleEvent(ctx context.Context, event events.Message) (error) {
161161 Int ("restart_count" , container .RestartCount ).
162162 Int ("max_restart_count" , container .HostConfig .RestartPolicy .MaximumRetryCount ).
163163 Msg ("rebuilding_app" )
164- if err := runCommand ("dokku " , "--quiet" , "ps:rebuild " , appName ); err != nil {
164+ if err := runCommand ("/var/www/manager/manage.py " , "update_nginx " , appName ); err != nil {
165165 log .Warn ().
166166 Str ("container_id" , containerShortId ).
167167 Str ("app" , appName ).
You can’t perform that action at this time.
0 commit comments