Open a shell command terminal and run the following statements:
Edit and modify the default settings for the PostgreSQL database
cdadempiere-dockercat.env# Copyright (C) 2010-2017, OpenUp S.A. , http://www.openup.com.uy# Copyright (C) 2003-2017, e-Evolution Consultants S.A. , http://www.e-evolution.com# This program is free software: you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation, either version 3 of the License, or# (at your option) any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program. If not, see <http://www.gnu.org/licenses/>.# Email: raul.capecce@openupsolutions.com, http://openupsolutions.com , http://github.com/rcapecce# Email: victor.perez@e-evolution.com, http://www.e-evolution.com , http://github.com/e-EvolutionADEMPIERE_DB_PORT=55432ADEMPIERE_DB_PASSWORD=adempiereADEMPIERE_DB_ADMIN_PASSWORD=postgresPG_VERSION=12.2vi.env
Edit and modify the default setting for the ADempiere
cdadempierecat.env# Copyright (C) 2003-2017, e-Evolution Consultants S.A. , http://www.e-evolution.com# This program is free software: you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation, either version 3 of the License, or# (at your option) any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program. If not, see <http://www.gnu.org/licenses/>.ce# Email: victor.perez@e-evolution.com, http://www.e-evolution.com , http://github.com/e-EvolutionADEMPIERE_WEB_PORT=8274ADEMPIERE_SSL_PORT=4444ADEMPIERE_VERSION=3.9.3# ATENTION If is "Y" it will be replace de actual defined database with a empty ADempiere seedADEMPIERE_DB_INIT=Yvi.env
Deployment ADempiere using the application shell script
cd..pwd# From the adempiere-docker directory execute./application.shadempiereup-d--build# Wait a few minutes while the ADempiere Server installation is done dockerps|greppostgres# The output should show something like e70086fe9f89dd4fa36a9c2f"docker-entrypoint.s…"11monthsagoUp4minutes0.0.0.0:55432->5432/tcppostgres122_db_1dockerps|grepadempiere# The output should show something like fe8cc0a49e77adempiere"/bin/sh -c '/root/s…"11monthsagoUp8minutes0.0.0.0:4444->4444/tcp,0.0.0.0:8274->8888/tcpadempieredockerlogsadempiere
Based on the configuration of ./adempiere/.env, docker will show the available ports where the ADempiere services were deployed 0.0.0.0:4444->4444/tcp, 0.0.0.0:8274->8888/tcp
If everything goes well up to here, open the following url http://0.0.0.0:8274/webui/ in the browser of your choice
To access use the username and password GardenAdmin
Congratulations now you can evaluate and try adempiere locally
The deployment in Docker is done for didactic purposes, for a production installation requires specific adjustments in the database and memory parameters