Skip to content

Commit

Permalink
replicas and removing container naem and version
Browse files Browse the repository at this point in the history
  • Loading branch information
delcroip authored Nov 1, 2024
1 parent 766deac commit 45a7685
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 15 deletions.
9 changes: 3 additions & 6 deletions compose.base.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#version: "3.7"
x-api: &default-api
image: ghcr.io/openimis/openimis-be:${BE_TAG:-develop}
environment:
Expand Down Expand Up @@ -30,7 +29,6 @@ x-api: &default-api

services:
frontend:
container_name: ${PROJECT_NAME:-openimis}-frontend
image: ghcr.io/openimis/openimis-fe:${FE_TAG:-develop}
restart: always
environment:
Expand All @@ -52,15 +50,14 @@ services:
- ./conf/nginx:/conf/
backend:
<<: *default-api
container_name: ${PROJECT_NAME:-openimis}-api
command: start

worker:
<<: *default-api
container_name: ${PROJECT_NAME:-openimis}-worker
command: worker
deploy:
mode: replicated
replicas: ${WORKER_REPLICAS:-3}
rabbitmq:
container_name: ${PROJECT_NAME:-openimis}-rabbitmq
image: rabbitmq:3-management
restart: always
networks:
Expand Down
1 change: 0 additions & 1 deletion compose.cache.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
services:
redis:
container_name: ${PROJECT_NAME:-openimis}-redis
image: redis:latest
restart: always
ports:
Expand Down
2 changes: 0 additions & 2 deletions compose.certbot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#version: "3.7"
services:

certbot:
image: certbot/certbot
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
Expand Down
2 changes: 0 additions & 2 deletions compose.mssql.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#version: '3.7'
services:
db:
container_name: ${PROJECT_NAME:-openimis}-db
image: ghcr.io/openimis/openimis-mssql:${DB_TAG:-latest}
restart: always
environment:
Expand Down
2 changes: 0 additions & 2 deletions compose.openSearch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#version: '3.7'
services:

opensearch:
Expand All @@ -25,7 +24,6 @@ services:

opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:2.9.0
container_name: ${PROJECT_NAME:-openimis}-opensearch-dashboards
environment:
- OPENSEARCH_HOSTS=${OPENSEARCH_HOSTS:-http://opensearch:9200}
- "DISABLE_SECURITY_DASHBOARDS_PLUGIN=true"
Expand Down
2 changes: 0 additions & 2 deletions compose.postgresql.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#version: '3.7'
services:
db:
container_name: ${PROJECT_NAME:-openimis}-db
image: ghcr.io/openimis/openimis-pgsql:${DB_TAG:-latest}
environment:
- POSTGRES_PASSWORD=${DB_PASSWORD}
Expand Down

0 comments on commit 45a7685

Please sign in to comment.