-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (53 loc) · 862 Bytes
/
docker-compose.yml
File metadata and controls
58 lines (53 loc) · 862 Bytes
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
services:
mariadb:
build:
context: mariadb
volumes:
- mariadb-data:/var/lib/mysql
env_file:
- .env
networks:
- network
restart: always
api:
build:
context: api
args:
- API_PORT=${API_PORT}
env_file:
- .env
ports:
- "${API_PORT}:${API_PORT}"
networks:
- network
depends_on:
- mariadb
restart: always
frontend:
build:
context: frontend
args:
- API_HOST=${API_HOST}
- API_PORT=${API_PORT}
ports:
- "80:80"
- "443:443"
networks:
- network
depends_on:
- api
restart: always
crawler:
build:
context: crawler
env_file:
- .env
networks:
- network
depends_on:
- mariadb
volumes:
mariadb-data:
networks:
network:
driver: bridge