Skip to content

Commit 6189abf

Browse files
committed
env fix, remove service user, latest conf updates
1 parent 17bd157 commit 6189abf

File tree

6 files changed

+4
-68
lines changed

6 files changed

+4
-68
lines changed

templates/backbeat/Dockerfile.setup

Lines changed: 0 additions & 11 deletions
This file was deleted.

templates/backbeat/config.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,6 @@
3636
"host": "127.0.0.1",
3737
"port": 9990
3838
},
39-
"mongo": {
40-
"replicaSetHosts":
41-
"localhost:27017,localhost:27018,localhost:27019",
42-
"writeConcern": "majority",
43-
"replicaSet": "rs0",
44-
"readPreference": "primary",
45-
"database": "metadata"
46-
},
4739
"kafka": {
4840
"topic": "backbeat-oplog",
4941
"consumerGroupId": "backbeat-qp-oplog-group"

templates/backbeat/create-service-user.sh

Lines changed: 0 additions & 25 deletions
This file was deleted.

templates/backbeat/env

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
EXPIRE_ONE_DAY_EARLIER=true
1+
export EXPIRE_ONE_DAY_EARLIER=true
2+
export CRASH_ON_BATCH_TIMEOUT=true
3+
export REMOTE_MANAGEMENT_DISABLE=true

templates/backbeat/supervisord.conf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ autostart = true
5454
{{ if .Features.CrossRegionReplication.Enabled }}
5555
[program:crr-queue-populator]
5656
command = bash -c "source /conf/env && exec npm run queue_populator"
57-
environment = CRASH_ON_BATCH_TIMEOUT=true REMOTE_MANAGEMENT_DISABLE=true
5857
numprocs = 1
5958
process_name = %(program_name)s_%(process_num)s
6059
stdout_logfile = %(ENV_LOG_DIR)s/%(program_name)s-%(process_num)s.log
@@ -68,7 +67,7 @@ autostart = true
6867

6968
[program:crr-queue-processor]
7069
command = bash -c "source /conf/env && exec npm run queue_processor"
71-
environment = CRASH_ON_BATCH_TIMEOUT=true REMOTE_MANAGEMENT_DISABLE=true BOOTSTRAP_SITE_NAME=sf
70+
environment = BOOTSTRAP_SITE_NAME=sf
7271
numprocs = 1
7372
process_name = %(program_name)s_%(process_num)s
7473
stdout_logfile = %(ENV_LOG_DIR)s/%(program_name)s-%(process_num)s.log
@@ -82,7 +81,6 @@ autostart = true
8281

8382
[program:crr-status-processor]
8483
command = bash -c "source /conf/env && exec npm run replication_status_processor"
85-
environment = CRASH_ON_BATCH_TIMEOUT=true REMOTE_MANAGEMENT_DISABLE=true
8684
numprocs = 1
8785
process_name = %(program_name)s_%(process_num)s
8886
stdout_logfile = %(ENV_LOG_DIR)s/%(program_name)s-%(process_num)s.log

templates/global/docker-compose.yaml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -150,36 +150,16 @@ services:
150150
environment:
151151
SUPERVISORD_CONF: supervisord.conf
152152
BACKBEAT_CONFIG_FILE: /conf/config.json
153-
depends_on:
154-
setup-backbeat:
155-
condition: service_completed_successfully
156153
volumes:
157154
- ./config/backbeat/supervisord.conf:/conf/supervisord.conf:ro
158155
- ./config/backbeat/config.json:/conf/config.json:ro
159156
- ./config/backbeat/config.notification.json:/conf/config.notification.json:ro
160157
- ./config/backbeat/env:/conf/env:ro
161158
- ./logs/backbeat:/logs
162-
- ./config/vault/:/secrets/:rw
163159
profiles:
164160
- feature-crr
165161
- feature-notifications
166162

167-
setup-backbeat:
168-
build:
169-
context: ./config/backbeat
170-
dockerfile: Dockerfile.setup
171-
args:
172-
BASE_IMAGE: ${BACKBEAT_IMAGE}
173-
container_name: workbench-setup-backbeat
174-
network_mode: host
175-
depends_on:
176-
setup-vault:
177-
condition: service_completed_successfully
178-
volumes:
179-
- ./config/vault/:/secrets
180-
profiles:
181-
- feature-crr
182-
183163
redis:
184164
image: ${REDIS_IMAGE}
185165
container_name: workbench-redis

0 commit comments

Comments
 (0)