diff --git a/compose-files/docker-compose.yml b/compose-files/docker-compose.yml index 8058ac6..a35fd7f 100644 --- a/compose-files/docker-compose.yml +++ b/compose-files/docker-compose.yml @@ -1,6 +1,8 @@ -version: '3.2' +version: "3.2" services: + + ### nginx #nginx: # image: nginx @@ -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: @@ -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 @@ -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 @@ -61,13 +63,13 @@ 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 @@ -75,8 +77,8 @@ services: image: rabbitmq:3.8.9-management container_name: rabbit ports: - - '5672:5672' - - '15672:15672' + - "5672:5672" + - "15672:15672" ### Schul-Cloud Calendar ### @@ -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' @@ -170,7 +172,7 @@ services: - S3_KEY=abcdefghijklmnop - PUBLIC_BACKEND_URL=http://server:3030/api ports: - - '3030:3030' + - "3030:3030" networks: - storage - default @@ -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 @@ -279,7 +281,7 @@ services: # BRUTE FORCE PROTECTION - LOGIN_BLOCK_TIME=3 ports: - - '3100:3100' + - "3100:3100" restart: unless-stopped ### @@ -307,7 +309,7 @@ services: # Theme and Titles - SC_THEME=default ports: - - '4000:4000' + - "4000:4000" restart: unless-stopped calendar: @@ -316,7 +318,7 @@ services: context: ${CALENDAR_PATH:-.keep_empty} dockerfile: Dockerfile ports: - - '3000:3000' + - "3000:3000" depends_on: - calendar-postgres environment: @@ -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: @@ -371,7 +373,7 @@ networks: ipam: driver: default config: - - subnet: '172.16.13.0/24' + - subnet: "172.16.13.0/24" volumes: data-mongodb-primary: @@ -379,4 +381,4 @@ volumes: data-mongodb-arbiter: data-calendar-postgres: postgres-init: - db-data: + db-data: \ No newline at end of file