-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (42 loc) · 1.13 KB
/
docker-compose.yml
File metadata and controls
42 lines (42 loc) · 1.13 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
version: '3.9'
services:
# task-manager:
# build:
# context: ./services/task-manager
# dockerfile: Dockerfile
# ports:
# - ${PORT_HTTP_TASK_MANAGER}:${PORT_HTTP_TASK_MANAGER}
# - ${PORT_GRPC_TASK_MANAGER}:${PORT_GRPC_TASK_MANAGER}
# depends_on:
# - postgres
# restart: always
# text-interpreter:
# build:
# context: ./services/text-interpreter
# dockerfile: Dockerfile
# ports:
# - ${PORT_TEXT_INTERPRETER}:${PORT_TEXT_INTERPRETER}
# restart: always
# access-manager:
# build:
# context: ./services/access-manager
# dockerfile: Dockerfile
# ports:
# - ${PORT_HTTP_ACCESS_MANAGER}:${PORT_HTTP_ACCESS_MANAGER}
# - ${PORT_GRPC_ACCESS_MANAGER}:${PORT_GRPC_ACCESS_MANAGER}
# depends_on:
# - postgres
# - redis
# restart: always
postgres:
image: postgres:16-alpine
ports:
- ${PORT_POSTGRES}:5432
environment:
- POSTGRES_USER=${USER_POSTGRES}
- POSTGRES_PASSWORD=${PASSWORD_POSTGRES}
- POSTGRES_DB=${DATABASE_POSTGRES}
redis:
image: redis:7-alpine
ports:
- ${PORT_REDIS}:6379