Skip to content

Commit 31d3de8

Browse files
committed
BC-288 Configure TNB_CELERY_BROKER_URL for Node container. Fix on pull_request syntax.
1 parent 0b79abc commit 31d3de8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/pr.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Quality Assurance
22

3-
on: [pull_request]
3+
on:
4+
pull_request:
5+
types: [opened]
46

57
jobs:
68
# github does not support dependencies on other workflows therefore we have to duplicate the code

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ services:
5757
command: ./run.sh
5858
environment:
5959
TNB_DATABASES: '{"default":{"CLIENT":{"host":"node-mongo","password":"${MONGO_INITDB_ROOT_PASSWORD}"}}}'
60+
TNB_CELERY_BROKER_URL: 'amqp://guest:guest@celery-broker:5672//'
6061
env_file: .env
6162
depends_on:
6263
- node-mongo

0 commit comments

Comments
 (0)