diff --git a/README.md b/README.md
index c1216e9..f9af1ca 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,7 @@
# Gymboard
Leaderboards for your local community gym.
+
+## Development
+Gymboard is comprised of a variety of components, each in its own directory, and with its own project format. Follow the instructions in the README of the respective project to set that one up.
+
+A `docker-compose.yml` file is defined in this directory, and it defines a set of services that may be used by one or more services. Install docker on your system if you haven't already, and run `docker-compose up -d` to start the services.
diff --git a/docker-compose.yml b/docker-compose.yml
index 5175a26..ffe7fe9 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -12,3 +12,22 @@ services:
environment:
POSTGRES_USER: gymboard-api-dev
POSTGRES_PASSWORD: testpass
+
+ # Database for the gymboard-cdn.
+ cdn-db:
+ image: postgres
+ restart: always
+ ports:
+ - "5433:5432"
+ environment:
+ POSTGRES_USER: gymboard-cdn-dev
+ POSTGRES_PASSWORD: testpass
+
+ mailhog:
+ image: mailhog/mailhog
+ restart: always
+ expose:
+ - "8025"
+ ports:
+ - "1025:1025" # SMTP
+ - "8025:8025" # Web UI
diff --git a/gymboard-api/pom.xml b/gymboard-api/pom.xml
index 60f0eb6..43d5ff0 100644
--- a/gymboard-api/pom.xml
+++ b/gymboard-api/pom.xml
@@ -37,6 +37,10 @@
+ Thank you for registering a new account at Gymboard! +
++ Please click here to activate your account. +
+ """, + user.getName(), + activationLink + ); + MimeMessage msg = mailSender.createMimeMessage(); + try { + MimeMessageHelper helper = new MimeMessageHelper(msg, "UTF-8"); + helper.setFrom("GymboardPage content
-Page content
+Check your email for the link to activate your account.
+You may safely close this page.
+