This repository contains the docker-compose.yml
files to use locally and in
production.
- Clone this repo.
- Clone the
acapy
,backend
,frontend
, andirma
repos and place them (with those names) in the repo directory. - Copy
.env.example
to.env
and update with desired settings (fromngrok
for instance) - In production, run
Locally, run*
docker-compose up
*Dev deployment assumes local availability of all the node dependencies fordocker-compose -f docker-compose.dev.yml up
backend
andfrontend
. These can be installed bydocker-compose -f docker-compose.dev.yml run backend npm install docker-compose -f docker-compose.dev.yml run frontend yarn install
Database should be set up automatically.
To be able to use the service locally from a phone that's not on the network, you need so set up a proxy service. Ngrok is by far the easiest and free. There is an example config file included. You still need to register and grab your api key.
After copying the file, you can start ngrok with the following command (skips TCP tunnels):
ngrok start -config=ngrok.yml --all
After ngrok has started, you can inspect traffic to your service on http://localhost:4040.
There is a python script included to automatically update your local .env file with the new proxy settings:
python3 updatetunnels.py