-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (50 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
50 lines (50 loc) · 1.01 KB
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
services:
client:
image: problem-manager-client
restart: on-failure:3
build:
context: client
dockerfile: Dockerfile.dev
ports:
- 8080:5173
volumes:
- .:/app
server:
image: problem-manager-server
restart: on-failure:3
build:
context: server
dockerfile: Dockerfile.dev
ports:
- 8081:8080
volumes:
- .:/app
- ./task_data:/data
extra_hosts:
- 'host.docker.internal:host-gateway'
builder:
image: problem-manager-builder
restart: on-failure:3
build:
context: builder
dockerfile: Dockerfile.dev
ports:
- 8082:8080
volumes:
- .:/app
- ./task_data:/data
db:
image: postgres:17
restart: on-failure:3
shm_size: 128mb
environment:
POSTGRES_DB: problem_manager
POSTGRES_USER: pm
POSTGRES_PASSWORD: password
volumes:
- ./postgresql_data:/var/lib/postgresql/data
adminer:
image: adminer
restart: always
ports:
- 8083:8080