@@ -47,16 +47,16 @@ def orderly_constellation(cfg):
47
47
48
48
def outpack_server_container (cfg ):
49
49
name = cfg .containers ["outpack-server" ]
50
- mounts = [constellation .ConstellationMount ("outpack" , "/outpack" )]
50
+ mounts = [constellation .ConstellationVolumeMount ("outpack" , "/outpack" )]
51
51
outpack_server = constellation .ConstellationContainer (
52
52
name , cfg .outpack_ref , mounts = mounts )
53
53
return outpack_server
54
54
55
55
56
56
def outpack_migrate_container (cfg ):
57
57
name = cfg .containers ["outpack-migrate" ]
58
- mounts = [constellation .ConstellationMount ("outpack" , "/outpack" ),
59
- constellation .ConstellationMount ("orderly" , "/orderly" )]
58
+ mounts = [constellation .ConstellationVolumeMount ("outpack" , "/outpack" ),
59
+ constellation .ConstellationVolumeMount ("orderly" , "/orderly" )]
60
60
args = ["/orderly" , "/outpack" , "--minutes=5" ]
61
61
outpack_migrate = constellation .ConstellationContainer (
62
62
name , cfg .outpack_migrate_ref , mounts = mounts , args = args )
@@ -103,7 +103,7 @@ def packit_container(cfg):
103
103
104
104
def redis_container (cfg ):
105
105
redis_name = cfg .containers ["redis" ]
106
- redis_mounts = [constellation .ConstellationMount ("redis" , "/data" )]
106
+ redis_mounts = [constellation .ConstellationVolumeMount ("redis" , "/data" )]
107
107
redis_args = ["--appendonly" , "yes" ]
108
108
redis = constellation .ConstellationContainer (
109
109
redis_name , cfg .redis_ref , mounts = redis_mounts , args = redis_args ,
@@ -127,7 +127,7 @@ def redis_configure(container, cfg):
127
127
def orderly_container (cfg , redis_container ):
128
128
orderly_name = cfg .containers ["orderly" ]
129
129
orderly_args = ["--port" , "8321" , "--go-signal" , "/go_signal" , "/orderly" ]
130
- orderly_mounts = [constellation .ConstellationMount ("orderly" , "/orderly" )]
130
+ orderly_mounts = [constellation .ConstellationVolumeMount ("orderly" , "/orderly" )]
131
131
ports = [8321 ] if cfg .orderly_expose else None
132
132
environment = orderly_env (cfg , redis_container )
133
133
orderly = constellation .ConstellationContainer (
@@ -211,7 +211,7 @@ def orderly_start(container):
211
211
def worker_container (cfg , redis_container ):
212
212
worker_name = cfg .containers ["orderly-worker" ]
213
213
worker_args = ["--go-signal" , "/go_signal" ]
214
- worker_mounts = [constellation .ConstellationMount ("orderly" , "/orderly" )]
214
+ worker_mounts = [constellation .ConstellationVolumeMount ("orderly" , "/orderly" )]
215
215
worker_entrypoint = "/usr/local/bin/orderly_worker"
216
216
environment = orderly_env (cfg , redis_container )
217
217
worker = constellation .ConstellationService (
@@ -234,12 +234,12 @@ def worker_start(container):
234
234
235
235
def web_container (cfg ):
236
236
web_name = cfg .containers ["web" ]
237
- web_mounts = [constellation .ConstellationMount ("orderly" , "/orderly" )]
237
+ web_mounts = [constellation .ConstellationVolumeMount ("orderly" , "/orderly" )]
238
238
if cfg .sass_variables is not None :
239
- web_mounts .append (constellation .ConstellationMount (
239
+ web_mounts .append (constellation .ConstellationVolumeMount (
240
240
"css" , "/static/public/css" ))
241
241
if "documents" in cfg .volumes :
242
- web_mounts .append (constellation .ConstellationMount (
242
+ web_mounts .append (constellation .ConstellationVolumeMount (
243
243
"documents" , "/documents" ))
244
244
if cfg .web_dev_mode :
245
245
web_ports = [(cfg .web_port , ("127.0.0.1" , cfg .web_port ))]
@@ -362,7 +362,7 @@ def proxy_container(cfg, web, packit_api=None, packit=None):
362
362
proxy_args = [cfg .proxy_hostname , str (cfg .proxy_port_http ),
363
363
str (cfg .proxy_port_https ), web_addr , packit_api_addr ,
364
364
packit_addr ]
365
- proxy_mounts = [constellation .ConstellationMount (
365
+ proxy_mounts = [constellation .ConstellationVolumeMount (
366
366
"proxy_logs" , "/var/log/nginx" )]
367
367
proxy_ports = [cfg .proxy_port_http , cfg .proxy_port_https ]
368
368
proxy = constellation .ConstellationContainer (
0 commit comments