-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathdocker-compose.yml
60 lines (52 loc) · 910 Bytes
/
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
version: "3.9"
services:
app:
container_name: main_app
build: .
ports:
- "8000:8000"
depends_on:
- db
- redis
env_file:
- .env
networks:
- my_network
db:
container_name: postgres_db
image: postgres:15
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=12345
- POSTGRES_DB=test5
ports:
- "5432:5432"
networks:
- my_network
redis:
container_name: redis
image: redis:latest
volumes:
- redis_data:/data
networks:
- my_network
ports:
- "6379:6379"
isolated:
container_name: isolated
build: ./isolated
ports:
- "9999:9999"
networks:
- my_network
telegram_bot:
container_name: telegram_bot
build: ./tel
networks:
- my_network
env_file:
- .env
volumes:
redis_data:
networks:
my_network: