-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·60 lines (53 loc) · 1.13 KB
/
Copy pathdocker-compose.yml
File metadata and controls
executable file
·60 lines (53 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3.9"
services:
tg-bot:
container_name: "tg-bot"
build:
context: .
dockerfile: bot/Dockerfile
entrypoint: python3 bot/bot_start.py
env_file: .env.dev
redis:
image: redis:latest
ports:
- "6379:6379"
sandbox-worker:
container_name: "sandbox-worker"
build:
context: .
dockerfile: sandbox_worker/Dockerfile
env_file: .env.dev
depends_on:
- database
- mq
- file-storage
database:
container_name: "database"
image: postgres:15-alpine
environment:
- POSTGRES_PASSWORD=123
ports:
- "5432:5432"
volumes:
- "./data/postgres:/var/lib/postgresql"
mq:
container_name: "mq"
image: rabbitmq:3.12-management-alpine
ports:
- "5672:5672"
- "15672:15672"
file-storage:
container_name: "file-storage"
image: minio/minio
command: server --console-address ":9090" /data
ports:
- "9090:9090"
- "9000:9000"
volumes:
- "./data/minio:/data"
environment:
MINIO_ROOT_USER: "root"
MINIO_ROOT_PASSWORD: "123qweasd"
networks:
default:
driver: bridge