-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (48 loc) · 1.24 KB
/
docker-compose.yml
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
version: '3.8'
services:
session:
container_name: session
build:
context: SESSION
dockerfile: docker/Dockerfile
environment:
- spring.r2dbc.url=r2dbc:postgresql://database:5432/wordledb
volumes:
- gradlewrapper:/root/.gradle/wrapper:rw
ports:
- 7777:8080
depends_on:
- database
frontend:
container_name: frontend
build:
context: FE
dockerfile: Dockerfile
ports:
- 80:80
depends_on:
- authorization
- session
database:
container_name: database
build:
context: DATABASE
dockerfile: dockerfile
command: ["postgres", "-c", "log_statement=all"]
ports:
- 5432:5432
authorization:
container_name: authorization
build:
context: AUTHORIZATION
dockerfile: docker/Dockerfile
environment:
- spring.r2dbc.url=r2dbc:postgresql://database:5432/wordledb
volumes:
- gradlewrapper:/root/.gradle/wrapper:rw
ports:
- 7788:8080
depends_on:
- database
volumes:
gradlewrapper: