-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
77 lines (72 loc) · 2.13 KB
/
docker-compose.yaml
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
version: "3.7"
services:
# Used just to make sure the database has started before continuing.
init-database-mariadb:
image: mariadb:10.10
depends_on:
database-mariadb:
condition: service_healthy
environment:
MYSQL_ROOT_PASSWORD: cdO1KjwiC8ksOqCV1s0
MYSQL_DATABASE: hotstaq
MYSQL_USER: 5NKVBAt7OrzrumQyQVs
MYSQL_PASSWORD: 1BBrZbKYRUM7oiMA5oY
command:
- "exit 0"
networks:
- hotstaq-build-network
database-mariadb:
image: mariadb:${MARIADB_VERSION}
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "127.0.0.1"]
retries: 10
timeout: 10s
ports:
- "${MARIADB_DB_PORT}:3306"
environment:
MYSQL_ROOT_PASSWORD: cdO1KjwiC8ksOqCV1s0
MYSQL_DATABASE: hotstaq
MYSQL_USER: 5NKVBAt7OrzrumQyQVs
MYSQL_PASSWORD: 1BBrZbKYRUM7oiMA5oY
networks:
- hotstaq-build-network
database-influxdb:
image: influxdb:${INFLUXDB_VERSION}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8086/ping"]
retries: 10
timeout: 10s
ports:
- "${INFLUX_DB_PORT}:8086"
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_ORG: freelight
DOCKER_INFLUXDB_INIT_BUCKET: hotstaq
DOCKER_INFLUXDB_INIT_USERNAME: 5NKVBAt7OrzrumQyQVs
DOCKER_INFLUXDB_INIT_PASSWORD: 1BBrZbKYRUM7oiMA5oY
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: Ife0HerzHrloa32PsE4yg4ixA6j7tZFSMRhvBg7akUK2e
networks:
- hotstaq-build-network
testing-selenium-chrome:
image: selenium/standalone-chrome:${SELENIUM_VERSION}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4444/"]
retries: 10
timeout: 10s
shm_size: "2g"
environment:
SE_NODE_MAX_SESSIONS: 5
network_mode: "host"
# Disabled for now...
# testing-selenium-firefox:
# image: selenium/standalone-firefox:${SELENIUM_VERSION}
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:4444/"]
# retries: 10
# timeout: 10s
# shm_size: "2g"
# environment:
# SE_NODE_MAX_SESSIONS: 5
# network_mode: "host"
networks:
hotstaq-build-network: