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

Commit

Permalink
BC-6724 corrected formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
UzaeirKhan committed Jun 4, 2024
1 parent 319a720 commit 62b5da9
Showing 1 changed file with 24 additions and 22 deletions.
46 changes: 24 additions & 22 deletions compose-files/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
version: '3.2'
version: "3.2"

services:


### nginx
#nginx:
# image: nginx
Expand All @@ -22,7 +24,7 @@ services:
image: mongo:5.0.26 ## change tag in version.env
container_name: mongodb-primary
ports:
- '27017:27017'
- "27017:27017"
volumes:
- data-mongodb-primary:/data/db
depends_on:
Expand All @@ -35,8 +37,8 @@ services:
image: mongo:5.0.26 ## change tag in version.env
container_name: mongodb-secondary
ports:
- '27017'
- '27018:27017'
- "27017"
- "27018:27017"
volumes:
- data-mongodb-secondary:/data/db
restart: unless-stopped
Expand All @@ -46,8 +48,8 @@ services:
image: mongo:5.0.26 ## change tag in version.env
container_name: mongodb-arbiter
ports:
- '27017'
- '27019:27017'
- "27017"
- "27019:27017"
volumes:
- data-mongodb-arbiter:/data/db
restart: unless-stopped
Expand All @@ -61,22 +63,22 @@ services:
- mongodb-arbiter
volumes:
- ../scripts/mongo_setup.sh:/scripts/mongo_setup.sh
restart: 'no'
entrypoint: ['bash', '/scripts/mongo_setup.sh']
restart: "no"
entrypoint: [ "bash", "/scripts/mongo_setup.sh" ]

redis:
image: redis:${REDIS_DOCKER_TAG:-latest} ## change tag in version.env
container_name: redis
command: ['redis-server', '--appendonly', 'yes']
command: ["redis-server", "--appendonly", "yes"]
hostname: redis
restart: unless-stopped

rabbit:
image: rabbitmq:3.8.9-management
container_name: rabbit
ports:
- '5672:5672'
- '15672:15672'
- "5672:5672"
- "15672:15672"

### Schul-Cloud Calendar
###
Expand All @@ -85,7 +87,7 @@ services:
depends_on:
- calendar-init
ports:
- '5432:5432'
- "5432:5432"
volumes:
- 'data-calendar-postgres:/var/lib/postgresql/data'
- 'postgres-init:/docker-entrypoint-initdb.d'
Expand Down Expand Up @@ -170,7 +172,7 @@ services:
- S3_KEY=abcdefghijklmnop
- PUBLIC_BACKEND_URL=http://server:3030/api
ports:
- '3030:3030'
- "3030:3030"
networks:
- storage
- default
Expand Down Expand Up @@ -235,7 +237,7 @@ services:
- FWU_CONTENT__S3_BUCKET=fwu-content
- FWU_CONTENT__S3_REGION=eu-central-1
ports:
- '3333:3333'
- "3333:3333"
networks:
- storage
- default
Expand Down Expand Up @@ -279,7 +281,7 @@ services:
# BRUTE FORCE PROTECTION
- LOGIN_BLOCK_TIME=3
ports:
- '3100:3100'
- "3100:3100"
restart: unless-stopped
###

Expand Down Expand Up @@ -307,7 +309,7 @@ services:
# Theme and Titles
- SC_THEME=default
ports:
- '4000:4000'
- "4000:4000"
restart: unless-stopped

calendar:
Expand All @@ -316,7 +318,7 @@ services:
context: ${CALENDAR_PATH:-.keep_empty}
dockerfile: Dockerfile
ports:
- '3000:3000'
- "3000:3000"
depends_on:
- calendar-postgres
environment:
Expand Down Expand Up @@ -349,9 +351,9 @@ services:
image: selenium/hub:4.7.2
container_name: selenium-hub
ports:
- '4442:4442'
- '4443:4443'
- '4444:4444'
- "4442:4442"
- "4443:4443"
- "4444:4444"
chrome:
image: selenium/node-chrome:4.7.2
volumes:
Expand All @@ -371,12 +373,12 @@ networks:
ipam:
driver: default
config:
- subnet: '172.16.13.0/24'
- subnet: "172.16.13.0/24"

volumes:
data-mongodb-primary:
data-mongodb-secondary:
data-mongodb-arbiter:
data-calendar-postgres:
postgres-init:
db-data:
db-data:

0 comments on commit 62b5da9

Please sign in to comment.