Skip to content

Commit

Permalink
Merge pull request #701 from alphagov/sav2e
Browse files Browse the repository at this point in the history
Add `search-v2-evaluator` app
  • Loading branch information
csutter authored Nov 27, 2023
2 parents 9917867 + b3561fe commit 50b0b05
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ services:
- search-admin.dev.gov.uk
- search-api.dev.gov.uk
- search-api-v2.dev.gov.uk
- search-v2-evaluator.dev.gov.uk
- search.dev.gov.uk
- service-manual-publisher.dev.gov.uk
- short-url-manager.dev.gov.uk
Expand Down
2 changes: 2 additions & 0 deletions projects/search-v2-evaluator/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
search-v2-evaluator: bundle-search-v2-evaluator search-api-v2
$(GOVUK_DOCKER) run $@-lite yarn install
34 changes: 34 additions & 0 deletions projects/search-v2-evaluator/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
volumes:
search-v2-evaluator-tmp:
search-v2-evaluator-node-modules:

x-search-v2-evaluator: &search-v2-evaluator
build:
context: .
dockerfile: Dockerfile.govuk-base
image: search-v2-evaluator
tty: true
stdin_open: true
volumes:
- ${GOVUK_ROOT_DIR:-~/govuk}:/govuk:delegated
- root-home:/root
- search-v2-evaluator-tmp:/govuk/search-v2-evaluator/tmp
- search-v2-evaluator-node-modules:/govuk/search-v2-evaluator/node_modules
working_dir: /govuk/search-v2-evaluator

services:
search-v2-evaluator-lite:
<<: *search-v2-evaluator

search-v2-evaluator-app: &search-v2-evaluator-app
<<: *search-v2-evaluator
depends_on:
- nginx-proxy
- search-api-v2-app
environment:
VIRTUAL_HOST: search-v2-evaluator.dev.gov.uk
RAILS_DEVELOPMENT_HOSTS: "search-v2-evaluator.dev.gov.uk,search-v2-evaluator"
BINDING: 0.0.0.0
expose:
- "3000"
command: bin/rails server --restart

0 comments on commit 50b0b05

Please sign in to comment.