Hello! 

No, this is a sample name, but you can createvthe docker image and named as you want then put the right name there


Sent from my iPhone

On 17 Jun 2023, at 3:08, Chukwudi Nwachukwu <theic...@gmail.com> wrote:


On Fri, Jun 16, 2023 at 5:08 PM JOSE ALBERTO HERNANDEZ MALDONADO <jose.hernan...@fintecheando.mx> wrote:
Please review your docker compose file, we usually use a basic docker compose like this one. 

NOTE. use a .env file to setup the env variables instead of put this directly in the yml file

version: '3.5'

services:
  fineract-server:
    image: org.mifos.backend:latest
    restart: always
    network_mode: host
    extra_hosts:
      - "fineractmysql:127.0.0.1"
    ports:
      - "8443:8443"
    healthcheck:
      test: "curl -kfsS https://localhost:8443/fineract-provider/actuator/health | grep UP | wc -l"
      timeout: 10s
      retries: 10
    environment:
      - FINERACT_NODE_ID=1
      - FINERACT_HIKARI_DRIVER_SOURCE_CLASS_NAME=com.mysql.cj.jdbc.Driver
      - FINERACT_HIKARI_JDBC_URL=jdbc:mysql://fineractmysql:3306/fineract_tenants
      - FINERACT_HIKARI_USERNAME=${DB_USER}
      - FINERACT_HIKARI_PASSWORD=${DB_PASS}
      - FINERACT_HIKARI_MINIMUM_IDLE=3
      - FINERACT_HIKARI_MAXIMUM_POOL_SIZE=10
      - FINERACT_HIKARI_IDLE_TIMEOUT=60000
      - FINERACT_HIKARI_CONNECTION_TIMEOUT=20000
      - FINERACT_HIKARI_TEST_QUERY=SELECT 1
      - FINERACT_HIKARI_AUTO_COMMIT=true
      - FINERACT_HIKARI_DS_PROPERTIES_CACHE_PREP_STMTS=true
      - FINERACT_HIKARI_DS_PROPERTIES_PREP_STMT_CACHE_SIZE=250
      - FINERACT_HIKARI_DS_PROPERTIES_PREP_STMT_CACHE_SQL_LIMIT=2048
      - FINERACT_HIKARI_DS_PROPERTIES_USE_SERVER_PREP_STMTS=true
      - FINERACT_HIKARI_DS_PROPERTIES_USE_LOCAL_SESSION_STATE=true
      - FINERACT_HIKARI_DS_PROPERTIES_REWRITE_BATCHED_STATEMENTS=true
      - FINERACT_HIKARI_DS_PROPERTIES_CACHE_RESULT_SET_METADATA=true
      - FINERACT_HIKARI_DS_PROPERTIES_CACHE_SERVER_CONFIGURATION=true
      - FINERACT_HIKARI_DS_PROPERTIES_ELIDE_SET_AUTO_COMMITS=true
      - FINERACT_HIKARI_DS_PROPERTIES_MAINTAIN_TIME_STATS=false
      - FINERACT_HIKARI_DS_PROPERTIES_LOG_SLOW_QUERIES=true
      - FINERACT_HIKARI_DS_PROPERTIES_DUMP_QUERIES_IN_EXCEPTION=true
      - FINERACT_DEFAULT_TENANTDB_HOSTNAME=fineractmysql
      - FINERACT_DEFAULT_TENANTDB_PORT=3306
      - FINERACT_DEFAULT_TENANTDB_UID=${DB_USER}
      - FINERACT_DEFAULT_TENANTDB_PWD=${DB_PASS}
      - FINERACT_DEFAULT_TENANTDB_CONN_PARAMS=serverTimezone=America/Mexico_City&useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&autoReconnect=true&useSSL=false
      - FINERACT_DEFAULT_TENANTDB_TIMEZONE=America/Mexico_City
      - FINERACT_DEFAULT_TENANTDB_IDENTIFIER=${TENANT_ID}
      - FINERACT_DEFAULT_TENANTDB_NAME=fineract_${TENANT_ID}
      - FINERACT_DEFAULT_TENANTDB_DESCRIPTION=Default Demo Tenant

On Fri, Jun 16, 2023 at 9:49 AM N.A.Natarajan natesh <rjnata...@gmail.com> wrote:
i did that jose. cant we build using openjdk 17 image, means with out installing it in local. 

but i installed run the command also. but after that i run "docker-compose up -d" it is throwing error as follows 

Error:
 The Compose file './docker-compose.yml' is invalid because:
services.fineract-server.depends_on contains an invalid type, it should be an array

On Fri, Jun 16, 2023 at 9:11 PM JOSE ALBERTO HERNANDEZ MALDONADO <jose.hernan...@fintecheando.mx> wrote:
Hello!

Using gradlew command you can create the Docker image like this one:

./gradlew :fineract-provider:clean :fineract-provider:jibDockerBuild -x test

Gradle has a jib plugin to allow the Docker Image creation

Thanks and regards
Alberto

On Fri, Jun 16, 2023 at 7:07 AM N.A.Natarajan natesh <rjnata...@gmail.com> wrote:

Hi,

in previous versions, fineract package has Dockerfile to setup the fineract using docker. but in 1.8.4 that Docker file is not there. do you have any steps to install fineract 1.8.4 using docker. when i follow the same which has written in README file is throwing error for me. 

is there any possibility to set up fineract 1.8.4 using docker with out changing the previous development environment?. 
--
Natarajan
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users


--
Natarajan
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to