This repository has been archived by the owner on Dec 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
88 lines (88 loc) · 2.46 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: '3'
networks:
selenoid:
external:
name: selenoid
services:
db:
image: jbergstroem/mariadb-alpine
networks:
selenoid: null
env_file:
- docker/.env-db
minio:
image: 'minio/minio'
networks:
selenoid: null
env_file:
- docker/.env-minio
entrypoint: sh
command: -c 'mkdir -p /data/mbt && minio server --address :9000 /data'
ports:
- 83:9000
api-nginx:
image: "tienvx/mbt-examples-api-nginx:v1.17.0"
networks:
selenoid: null
depends_on:
- api
ports:
- 82:80
api:
image: "tienvx/mbt-examples-api:v1.17.0"
networks:
selenoid: null
depends_on:
- db
- minio
env_file:
- docker/.env
worker:
image: "tienvx/mbt-examples-worker:v1.17.0"
networks:
selenoid: null
depends_on:
- db
- minio
env_file:
- docker/.env
command: ["wait-for", "db:3306", "--timeout=99", "--", "php", "/usr/local/src/app/bin/console", "messenger:consume", "async"]
admin:
image: "tienvx/mbt-admin:v1.17.0"
networks:
selenoid: null
depends_on:
- api
environment:
API_URL: 'http://localhost:82'
ports:
- 80:80
app:
image: 'tienvx/mbt-example-app'
networks:
selenoid:
aliases:
- example.com
ports:
- 81:80
depends_on:
- db
hub:
image: "selenoid/hub"
networks:
selenoid: null
volumes:
- "$PWD/docker/selenoid/config/:/etc/selenoid/:ro"
- "/var/run/docker.sock:/var/run/docker.sock"
- "$PWD/docker/selenoid/video/:/opt/selenoid/video"
- "$PWD/docker/selenoid/logs/:/opt/selenoid/logs"
environment:
- OVERRIDE_VIDEO_OUTPUT_DIR=$PWD/docker/selenoid/video/
command: ["-conf", "/etc/selenoid/browsers.json", "-limit", "5", "-video-output-dir", "/opt/selenoid/video", "-log-output-dir", "/opt/selenoid/logs", "-container-network", "selenoid"]
selenoid-ui:
image: "aerokube/selenoid-ui"
networks:
selenoid: null
ports:
- "84:8080"
command: ["--selenoid-uri", "http://hub:4444"]