-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (48 loc) · 1.08 KB
/
Copy pathdocker-compose.yml
File metadata and controls
53 lines (48 loc) · 1.08 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
version: '3.8'
services:
llm-eval:
build: .
container_name: bird-sql-worker
volumes:
- .:/app
env_file:
- .env
networks:
- bird-net
depends_on:
- postgres-db
- mysql-db
extra_hosts:
- "host.docker.internal:host-gateway"
command: tail -f /dev/null
mysql-db:
image: mysql:8.4
container_name: bird-mysql
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_PASSWORD:-root_password}
MYSQL_DATABASE: ${MYSQL_DATABASE:-BIRD}
ports:
- "${MYSQL_PORT:-3306}:3306"
volumes:
- mysql-data:/var/lib/mysql
networks:
- bird-net
postgres-db:
image: postgres:14
container_name: bird-postgres
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres_user}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres_password}
POSTGRES_DB: ${POSTGRES_DB:-BIRD}
ports:
- "${POSTGRES_PORT:-5432}:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- bird-net
volumes:
mysql-data:
postgres-data:
networks:
bird-net:
driver: bridge