Prerequisites
- Docker and Docker Compose (version 2 or newer)
- Free ports on your local machine:
80(AAS-Suite),4000(sample app),8088(Keycloak admin console),8090(AAS Twin Engine) - An entry in your local
hostsfile that pointsaas-ecosystem.local(the default hostname, changeable viaLOCAL_HOSTNAME) to127.0.0.1(see Configuration)
Setup
In the downloaded project folder, the following command is enough to start the entire stack:
docker compose up -d
The first start takes a bit longer, since database migrations and the Keycloak realm configuration are imported automatically.
Configuration
All credentials and ports are controlled via the .env
file in the project folder, including:
- Postgres credentials (
POSTGRES_USER,POSTGRES_PASSWORD) - Keycloak admin access (
KEYCLOAK_ADMIN_USERNAME,KEYCLOAK_ADMIN_PASSWORD) - Initial organization admin account for the AAS-Suite (
INITIAL_ORGANISATION_ADMIN_EMAIL,INITIAL_ORGANISATION_ADMIN_PASSWORD) - The application's local hostname (
LOCAL_HOSTNAME, default:aas-ecosystem.local) – centrally controls all URLs (login, API, Keycloak)
For http://aas-ecosystem.local to work in your browser, that hostname needs to resolve to
127.0.0.1 locally, e.g. via an entry in your hosts file
(/etc/hosts on macOS/Linux, C:\Windows\System32\drivers\etc\hosts on Windows):
127.0.0.1 aas-ecosystem.local
The default values shipped for the local demo environment:
- Postgres:
aas_user/admin-pass - Keycloak admin console (
:8088):admin/admin - Organization admin login in the AAS-Suite:
admin@initial.orga/secret-pass
These credentials are for the local demo environment only and must be changed for any production or publicly reachable environment.
First steps after startup
- Open
http://aas-ecosystem.localin your browser (or your own hostname configured viaLOCAL_HOSTNAME). - Sign in with the initial organization admin account.
- Create a Digital Product Passport template in the AAS-Suite, or open the bundled sample template.
- Feed product data into the AAS Twin Engine's database, e.g. via the sample app included in the stack at
http://localhost:4000. - Retrieve the resulting AAS via the IDTA-compliant BaSyx API, or view it directly in the AAS-Suite viewer.