You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Claudio Bonesana edited this page May 27, 2021
·
3 revisions
Image
The provided Dockerfile is a multi stage build that will build the Java code and produce a Docker image of the backend.
By default, the image expose the service on the port 8080.
Compose
The provided docker-compose.yaml file is configured to work with a remote database.
In our case we are using Postgres. The database is configured with a standard user with a trivial password. Supported databases are:
Postgres,
MySQL,
H2 (in memory).
For the backend service, other than all the configuration parameters to connect to the remote database, a MAGIC_API_KEY is required. Check the Remote API Key page for more details on this feature.