-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
59 lines (52 loc) · 1.01 KB
/
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
services:
frontend:
user: node
build:
context: ./frontend
dockerfile: Dockerfile
restart: always
environment:
- GTM=${GTM}
- GOOGLE_SITE_VERIFICATION=${GOOGLE_SITE_VERIFICATION}
- NODE_ENV=production
networks:
- rishu-app_network
depends_on:
- backend
backend:
build:
context: ./backend
dockerfile: Dockerfile
restart: always
volumes:
- db:/workspace/bd
networks:
- rishu-app_network
depends_on:
- selenium
environment:
SELENIUM_URL: http://selenium:4444/wd/hub
selenium:
image: selenium/standalone-chrome:4.1.4-20220427
shm_size: 2g
cpus: 2
mem_limit: 4g
volumes:
- /dev/shm:/dev/shm
networks:
- rishu-app_network
web:
build:
context: ./nginx
dockerfile: Dockerfile
restart: always
ports:
- 80:80
networks:
- rishu-app_network
networks:
rishu-app_network:
name: rishu-app_network
driver: bridge
volumes:
db: