-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
55 lines (51 loc) · 1.07 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: submit
services:
db:
image: postgres:12.4
expose:
- 5432
ports:
- "5432:5432"
volumes:
- .postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: localdevuser
POSTGRES_PASSWORD: localdevuser
POSTGRES_DB: moresleeplocal
moresleep:
image: ghcr.io/javabin/moresleep:edge
ports:
- "8082:8082"
env_file:
- path: ./.env.moresleep
required: false
environment:
DBHOST: db
links:
- db
submit:
build:
context: .
dockerfile: src/main/docker/Dockerfile.jvm
ports:
- "8080:8080"
env_file:
- path: ./.env
required: false
environment:
TALKS_LOCATION: ${TALKS_LOCATION:-http://moresleep:8082}
links:
- moresleep
cake:
image: ghcr.io/javabin/cake-redux:edge
command: ["env-only"]
ports:
- "8081:8081"
env_file:
- path: ./.env.cake
required: false
environment:
SLEEPINGPILL_BASE_LOCATION: http://moresleep:8082
NO_AUTH_MODE: true
links:
- moresleep