forked from scorelab/Bassa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
57 lines (53 loc) · 1.03 KB
/
docker-compose.dev.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
version: "3"
services:
api:
build: components/core/
container_name: api
ports:
- 5000:5000
links:
- db
volumes:
- ./downloads:/downloads
environment:
BASSA_DB_NAME: Bassa
BASSA_DB_USERNAME: bassa
BASSA_DB_PASSWORD: bassa@1234
web:
build:
context: ui/
dockerfile: Dockerfile.dev
container_name: web
ports:
- 3000:3000
links:
- api
depends_on:
- db
aria2c:
build: components/aria2c/
container_name: aria2c
links:
- api
ports:
- 6800:6800
volumes:
- ./downloads:/downloads
restart: always
db:
image: mysql:5.7
restart: always
volumes:
- data-volume:/var/lib/mysql
- ./.docker/volumes/mysql:/docker-entrypoint-initdb.d
- ./db_schema/:/tmp/schema/
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: bassa@1234
MYSQL_DATABASE: Bassa
MYSQL_USER: bassa
MYSQL_PASSWORD: bassa@1234
BASSA_DB_NAME: Bassa
volumes:
data-volume: