Skip to content

Commit f9e2338

Browse files
committed
Adding configuration for running cake.
1 parent 7ab78b6 commit f9e2338

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

docker-compose.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,20 @@ services:
3636
- path: ./.env
3737
required: false
3838
environment:
39-
- TALKS_LOCATION=${TALKS_LOCATION:-http://moresleep:8082}
39+
TALKS_LOCATION: ${TALKS_LOCATION:-http://moresleep:8082}
40+
links:
41+
- moresleep
42+
43+
cake:
44+
image: ghcr.io/javabin/cake-redux:edge
45+
command: ["env-only"]
46+
ports:
47+
- "8081:8081"
48+
env_file:
49+
- path: ./.env.cake
50+
required: false
51+
environment:
52+
SLEEPINGPILL_BASE_LOCATION: http://moresleep:8082
53+
NO_AUTH_MODE: true
4054
links:
4155
- moresleep

src/main/java/no/java/submit/service/TalksService.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ class Session {
7272
public List<Speaker> speakers;
7373

7474
public boolean containsEmail(String email) {
75-
System.out.println(email);
76-
System.out.println(postedBy);
7775
if (email.equals(postedBy))
7876
return true;
7977

0 commit comments

Comments
 (0)