-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
74 lines (62 loc) · 1.42 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: '3'
services:
control-system:
build:
context: ./control-system
dockerfile: Dockerfile
# ports:
# - "8092:8092"
depends_on:
- postgres
- rabbitmq
- web_app
- backend
env_file:
- .env
image: meteofill_app/control_system:latest
# ports:
# - "8000:8000"
backend:
build:
context: ./backend
dockerfile: Dockerfile
env_file:
- .env
# volumes:
# - ./backend:/backend
depends_on:
- postgres
- rabbitmq
image: meteofill_app/backend:latest
web_app:
build:
context: ./web_app
dockerfile: Dockerfile
ports:
- "8050:8050" # Пример портов для веб-приложения. Измените, если нужно.
# volumes:
# - ./web_app:/web_app # Монтируем каталог с веб-приложением в контейнер
depends_on:
- postgres
- rabbitmq
env_file:
- .env
image: meteofill_app/web_app:latest
postgres:
image: postgres:latest
ports:
- "5432:5432"
environment:
# - .env
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: mydb
rabbitmq:
# image: rabbitmq:latest
image: rabbitmq:3-management
ports:
- "5672:5672"
- "15672:15672"
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest