- Copy the ".env.sample" file to a new file ".env" and fill out with the secrets.
- In the root folder
docker-compose -f docker-compose.yml -f docker-compose.local.yml up -d --build - Seed the database by making a GET request to
http://localhost:9000/api/x/seed - To only seed the admin and some test users in the database make a GET request to
http://localhost:9000/api/x/seedUsers docker-compose down
- To start the app:
docker-compose -f docker-compose.yml -f docker-compose.local.yml up -d --build - To stop the app:
docker-compose down - To see the logs:
docker logs -f NAME(NAMEis one of [imimap21_client_1,imimap21_server_1,imimap21_db_1,imimap21_db-gui_1])
To test the app manually, open http://localhost:8080/.
If you seeded the database: Login with the username "[email protected]" or "admin" and the password you chose in BYPASS_LDAP in the env file.
Else: Try the user "[email protected]" with the same password.
Inspect database at mongodb://127.0.0.1:27017 with mongodb-compass.
Or log in at http://localhost:8081 with the credentials ME_USER and ME_PASS in the env file.
Get the Postman collection at https://www.getpostman.com/collections/3406cd53e9316e2cf003.