In project root folder:
docker compose build
docker compose upEnvironment files need to be created
# ./backend/.env
SPRING_DATASOURCE_URL="DB Connection URL String"
SPRING_DATASOURCE_USERNAME="DB username"
SPRING_DATASOURCE_PASSWORD="DB password"TODO: Create environmental variables for the CORS allow so it can be done inside configuration instead of manually in Java.
You may also update values in the Application.properties file location in ./backend/src/main/resources/application.properties
Currently the application name, the jwt secret, and jwt expiration.
TODO: Add all configurable variables here and then pull them in from the .env file.
spring.application.name=backend
# spring.config.import=file:../.env[.properties],file:.env[.properties]
jwt.secret="myverySecretKeyHereThatisDefinitelySecure12248018201230"
jwt.expiration=86400000CORS configuration will need to be updated.
