Skip to content

Commit 64d7a09

Browse files
committed
DE workspace udpates
1 parent 0a43b1a commit 64d7a09

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type ShellCmd struct {
3131

3232
const APIVERSION = "1.25"
3333
const DEBUG = true
34-
const DOKKU_APP_LABEL = "com.dokku.app-name"
34+
const DOKKU_APP_LABEL = "dds.workspace.app-name"
3535

3636
var cm containerMap
3737
var 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).

0 commit comments

Comments
 (0)