When on GCE, get UI assets from Docker image.

(The Docker image is still in development)

Change-Id: I0ba1d7482b42d578d6ddbd7cfb42780e29feab24
This commit is contained in:
Brad Fitzpatrick 2015-04-01 02:49:26 -07:00
parent 2e923925db
commit 4e8413c501
1 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,10 @@ func DefaultEnvConfig() (*Config, error) {
GoogleCloudStorage: ":" + strings.TrimPrefix(blobBucket, "gs://"), GoogleCloudStorage: ":" + strings.TrimPrefix(blobBucket, "gs://"),
DBNames: map[string]string{}, DBNames: map[string]string{},
PackRelated: true, PackRelated: true,
// SourceRoot is where we look for the UI js/css/html files, and the Closure resources.
// Must be in sync with misc/docker/server/Dockerfile.
SourceRoot: "/camlistore",
} }
// Detect a linked Docker MySQL container. It must have alias "mysqldb". // Detect a linked Docker MySQL container. It must have alias "mysqldb".