Skip to content

Commit

Permalink
Merge pull request #745 from alphagov/search-admin
Browse files Browse the repository at this point in the history
Update `search-admin` config to reflect app changes
  • Loading branch information
csutter authored May 7, 2024
2 parents 140cddd + b243cd4 commit 661244b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion projects/search-admin/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
search-admin: bundle-search-admin publishing-api search-api
search-admin: bundle-search-admin publishing-api
$(GOVUK_DOCKER) run $@-lite bin/rake db:prepare
$(GOVUK_DOCKER) run $@-lite env RAILS_ENV=test bin/rake db:prepare
$(GOVUK_DOCKER) run $@-lite bin/rails runner 'User.first || User.create'
Expand Down
6 changes: 3 additions & 3 deletions projects/search-admin/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ services:
DATABASE_URL: "mysql2://root:root@mysql-8/search_admin_development"
TEST_DATABASE_URL: "mysql2://root:root@mysql-8/search_admin_test"
REDIS_URL: redis://redis
DATABASE_CLEANER_ALLOW_REMOTE_DATABASE_URL: "true"

search-admin-app: &search-admin-app
<<: *search-admin-base
depends_on:
- mysql-8
- nginx-proxy
- publishing-api-app
- search-api-app
environment:
DATABASE_URL: "mysql2://root:root@mysql-8/search_admin_development"
TEST_DATABASE_URL: "mysql2://root:root@mysql-8/search_admin_test"
REDIS_URL: redis://redis
VIRTUAL_HOST: search-admin.dev.gov.uk
BINDING: 0.0.0.0
PORT: 3000
expose:
- "3000"
command: bin/rails s --restart
command: bin/dev

0 comments on commit 661244b

Please sign in to comment.