Getting started
You can run the following Docker Compose to start a pre-configured instance of UniCore on your local machine.
Local connections
If you want an identity wallet (such as UniMe) to connect to your local UniCore,
you need to adjust the UNICORE__URL
environment variable to match the IP address of your machine on your local network.
compose.yaml
name: unicore
services:
unicore:
image: impiercetechnologies/ssi-agent
ports:
- 3033:3033
environment:
UNICORE__LOG_FORMAT: text
UNICORE__EVENT_STORE__TYPE: in_memory
UNICORE__URL: http://0.0.0.0:3033
UNICORE__SECRET_MANAGER__STRONGHOLD_PATH: '/app/res/stronghold'
UNICORE__SECRET_MANAGER__STRONGHOLD_PASSWORD: 'secure_password'
volumes:
- ../../agent_verification/presentation_definitions:/app/agent_verification/presentation_definitions
- ./tmp:/app/agent_api_rest
An example that also includes a PostgreSQL database can be found here.