Server of the Reservation-Bear. 🐻❄️ Hosted at reservation-bear.de.
Choose one of these options and then the server should be running under http://localhost:8080
However before running your application you need a smtp mail server account in order to send the emails. When you have them set these enviroment variables properly. (For more information visit here)
SPRING_MAIL_HOST=mymail.website.com
[email protected]
SPRING_MAIL_PASSWORD=secretPassword123
If you are starting the spring application through IntelliJ or any other IDE set these in your run configuration.
First modify the mail enviroment variables in the docker-compose.yaml
.
# To build locally use --build instead of --no-build
docker-compose up --no-build
docker run -p 8080:8080 ghcr.io/eistbaren/server:latest \
-e SPRING_MAIL_HOST=mymail.website.com \
-e [email protected] \
-e SPRING_MAIL_PASSWORD=secretPassword123
export SPRING_MAIL_HOST=mymail.website.com \
[email protected] \
SPRING_MAIL_PASSWORD=secretPassword123
./gradlew bootRun
export SPRING_MAIL_HOST=mymail.website.com \
[email protected] \
SPRING_MAIL_PASSWORD=secretPassword123
./gradlew bootJar
java -jar build/libs/eist-0.0.1-SNAPSHOT.jar