Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
update db url
Browse files Browse the repository at this point in the history
  • Loading branch information
davwas committed Apr 16, 2024
1 parent 032e3f8 commit c494b84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions compose-files/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:

### Schul-Cloud Server
###
mongodb:
mongodb-primary:
image: mongo:5.0.26 ## change tag in version.env
container_name: mongodb-primary
ports:
Expand Down Expand Up @@ -58,7 +58,7 @@ services:
mongosetup:
image: mongo:5.0.26
depends_on:
- mongodb
- mongodb-primary
- mongodb-secondary
- mongodb-arbiter
volumes:
Expand Down Expand Up @@ -146,7 +146,7 @@ services:
- CLAMAV__SERVICE_HOSTNAME=localhost
- CLAMAV__SERVICE_PORT=3310
# URIs and Port
- DB_URL=mongodb://mongodb:27017,mongodb-secondary:27017,mongodb-arbiter:27017/schulcloud?replicaSet=rs0&tls=false&readPreference=secondary
- DB_URL=mongodb://mongodb-primary:27017,mongodb-secondary:27017,mongodb-arbiter:27017/schulcloud?replicaSet=rs0&tls=false&readPreference=secondary
- DATABASE__URL=mongodb://server-mongodb:27017/schulcloud
- REDIS_URI=redis://redis:6379
- RABBITMQ_URI=amqp://guest:guest@rabbit:5672
Expand Down Expand Up @@ -207,7 +207,7 @@ services:
- FILES_STORAGE__S3_BUCKET=schulcloud
- FILES_STORAGE__S3_REGION=eu-central-1
# URIs and Port
- DB_URL=mongodb://mongodb:27017,mongodb-secondary:27017,mongodb-arbiter:27017/schulcloud?replicaSet=rs0&tls=false&readPreference=secondary
- DB_URL=mongodb://mongodb-primary:27017,mongodb-secondary:27017,mongodb-arbiter:27017/schulcloud?replicaSet=rs0&tls=false&readPreference=secondary
- DATABASE__URL=mongodb://server-mongodb:27017/schulcloud
- REDIS_URI=redis://redis:6379
- RABBITMQ_URI=amqp://guest:guest@rabbit:5672
Expand Down

0 comments on commit c494b84

Please sign in to comment.