this guide is to help you run idempiere as docker container.
run idempiere as docker can you start using idempiere without problem to install the requirement tools like java or else. you only need docker on your local.
first, you need install docker.
if you dont have postgres, you need postgres container :
docker run -d --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=postgres postgres:16
then you can run idempiere docker :
docker run -d --name idempiere -p 8443:8443 --link postgres:postgres idempiereofficial/idempiere:11-release
if you want use external database, you can create docker-stack.yml file and copy paste this :
version: '3.7'
services:
idempiere:
image: idempiereofficial/idempiere:11-release
volumes:
- idempiere_config:/opt/idempiere/configuration
- idempiere_plugins:/opt/idempiere/plugins
environment:
- TZ=Asia/Jakarta
- DB_HOST=host.docker.internal
- DB_PORT=5432
- DB_NAME=idempiere11
- DB_USER=adempiere
- DB_PASS=adempiere
- DB_ADMIN_PASS=postgres
- IDEMPIERE_PORT=8080
- IDEMPIERE_SSL_PORT=8443
ports:
- 8080:8080
- 8443:8443
- 12612:12612
volumes:
idempiere_data:
idempiere_plugins:
idempiere_config:
and run :
docker compose -f docker-stack.yml up
you can access the idempiere from browser by navigate to https://localhost:8443