forked from mukulhase/WebWhatsapp-Wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-test.yml
60 lines (57 loc) · 1.23 KB
/
docker-compose-test.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
60
# Deploying applications
version: "3.7"
services:
# Test number
firefox_420776858272:
container_name: firefox_420776858272
image: selenium/standalone-firefox-debug:3.14.0-curium
ports:
- "4446:4444"
- "5906:5900"
volumes:
- "/dev/shm:/dev/shm"
networks:
- selenium
restart: on-failure
logging:
driver: journald
options:
tag: "{{.Name}}/{{.ID}}"
#deploy:
# resources:
# limits:
# memory: 1000M
# reservations:
# memory: 500M
whatsapp_420776858272:
container_name: whatsapp_420776858272
image: webwhatsapp-wrapper
build: .
environment:
- SELENIUM=http://firefox_420776858272:4444/wd/hub
- MOBILE_NUMBER=420776858272
- IDEN_NUMBER=2
- DATABASE_URL
volumes:
- ".:/app"
- "/media/wphotos:/wphotos"
command: /app/docker-entrypoint.sh
networks:
- selenium
depends_on:
- firefox_420776858272
restart: on-failure
logging:
driver: journald
options:
tag: "{{.Name}}/{{.ID}}"
#deploy:
# resources:
# limits:
# memory: 1000M
# reservations:
# memory: 500M
volumes:
devshm:
networks:
selenium: