Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
syed-ali-tw committed Dec 10, 2024
1 parent 7922fcb commit 604d67e
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions projects/publisher/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,26 @@ services:
shm_size: 512mb
depends_on:
- publisher-redis
- mongo-3.6
- postgres-13
environment:
MONGODB_URI: "mongodb://mongo-3.6/publisher"
TEST_MONGODB_URI: "mongodb://mongo-3.6/publisher-test"
RAILS_ENV: "test"
DATABASE_URL: "postgresql://postgres@postgres-13/publisher"
TEST_DATABASE_URL: "postgresql://postgres@postgres-13/publisher_test"
REDIS_URL: redis://publisher-redis

publisher-app: &publisher-app
<<: *publisher
depends_on:
- publisher-redis
- mongo-3.6
- postgres-13
- nginx-proxy
- publishing-api-app
- link-checker-api-app
- publisher-worker
- publisher-css
environment:
MONGODB_URI: "mongodb://mongo-3.6/publisher"
RAILS_ENV: "test"
DATABASE_URL: "postgresql://postgres@postgres-13/publisher"
REDIS_URL: redis://publisher-redis
VIRTUAL_HOST: publisher.dev.gov.uk
BINDING: 0.0.0.0
Expand All @@ -55,11 +57,11 @@ services:
<<: *publisher
depends_on:
- publisher-redis
- mongo-3.6
- postgres-13
- nginx-proxy
- publishing-api-app
environment:
MONGODB_URI: "mongodb://mongo-3.6/publisher"
DATABASE_URL: "postgresql://postgres@postgres-13/publisher"
REDIS_URL: redis://publisher-redis
command: bin/dev worker

Expand Down

0 comments on commit 604d67e

Please sign in to comment.