Skip to content

Commit c5aea36

Browse files
committed
Allow for active env var. Specify version family for custom services.
1 parent 96e134a commit c5aea36

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

Diff for: .env-template

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
## Set to "development" to trigger local development seed data rather than production, even in production NODE_ENV
22
PIPELINE_SEED_ENV=production
33

4+
## Can be used to mark the pipeline as inactive
5+
PIPELINE_IS_ACTIVE=1
6+
47
## Core Services - Primarily making overrides available for exposed ports for multiple systems on a machine.
58
PIPELINE_DATABASE_PORT=6510
69
PIPELINE_MESSAGE_API_PORT=6520

Diff for: docker-compose.coordinator.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
# Coordinator/scheduler - required, can be deployed anywhere
99
#
1010
pipeline-api:
11-
image: mouselightpipeline/pipeline-api
11+
image: mouselightpipeline/pipeline-api:1.2
1212
hostname: pipeline-api
1313
ports:
1414
- ${PIPELINE_API_PORT}:6001
@@ -20,7 +20,7 @@ services:
2020
- back_tier
2121

2222
pipeline-scheduler:
23-
image: mouselightpipeline/scheduler
23+
image: mouselightpipeline/scheduler:1.2
2424
hostname: pipeline-scheduler
2525
ports:
2626
- ${PIPELINE_SCHEDULER_PORT}:6002
@@ -32,11 +32,12 @@ services:
3232
- back_tier
3333

3434
pipeline-client:
35-
image: mouselightpipeline/pipeline-client
35+
image: mouselightpipeline/pipeline-client:1.2
3636
hostname: pipeline-client
3737
environment:
3838
PIPELINE_THUMBS_HOST: ${PIPELINE_THUMBS_HOST}
3939
PIPELINE_THUMBS_PORT: ${PIPELINE_THUMBS_PORT}
40+
PIPELINE_IS_ACTIVE: ${PIPELINE_IS_ACTIVE}
4041
ports:
4142
- ${PIPELINE_API_CLIENT_PORT}:6101
4243
- ${PIPELINE_API_CLIENT_SOCKET_IO_PORT}:6102

Diff for: docker-compose.workers.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: '3.1'
55
#
66
services:
77
canopus-client:
8-
image: mouselightpipeline/worker-client
8+
image: mouselightpipeline/worker-client:1.2
99
hostname: canopus-client
1010
environment:
1111
PIPELINE_WORKER_API_HOST: ${PIPELINE_CANOPUS_API_HOST}
@@ -18,7 +18,7 @@ services:
1818
- back_tier
1919

2020
sirius-client:
21-
image: mouselightpipeline/worker-client
21+
image: mouselightpipeline/worker-client:1.2
2222
hostname: sirius-client
2323
environment:
2424
PIPELINE_WORKER_API_HOST: ${PIPELINE_SIRIUS_API_HOST}
@@ -31,7 +31,7 @@ services:
3131
- back_tier
3232

3333
vega-client:
34-
image: mouselightpipeline/worker-client
34+
image: mouselightpipeline/worker-client:1.2
3535
hostname: vega-client
3636
environment:
3737
PIPELINE_WORKER_API_HOST: ${PIPELINE_VEGA_API_HOST}

0 commit comments

Comments
 (0)