-
mongodb
: main database -
reverse-proxy
: nginx reverse-proxy serving static resources and forwardPOST /api
to upstreamapi-gateway
-
api-gateway
: exposing microservices as JSON RPC over HTTP -
service-broker
: service oriented message queue -
microservice-personas
: personas microservice -
microservice-passwords
: emails microservice -
microservice-notes
: notes microservice -
microservice-emails
: emails microservice -
smtp-server
: SMTP receive-only email server
$ docker-compose -f docker-compose-development.yaml up
A HTTP server is exposed to host and listening on http://localhost:8080/ or
http://mypersona.tk:8080/. You can add an entry to your hosts file to point mypersona.tk
to 127.0.0.1
for development.
Development environment uses a self-hosted MongoDB instance.
// TODO
Remember to rebuild image when a repository is updated and push to origin:
$ docker-compose -f docker-compose-development.yaml build --no-cache [service...]
Don't forget --no-cache
!
Also watch for new versions of deployment scripts.