-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathdocker-compose.yml
69 lines (67 loc) · 2.06 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
version: '3'
services:
healthchecks:
image: quay.io/galexrt/healthchecks:v2.10
restart: always
ports:
- "8000:8000"
# Remove the brackets and uncomment the `SQLite` volumes entry
volumes: []
#- SQLite:/data
environment:
# Database config
# For more information see https://github.com/galexrt/container-healthchecks/blob/main/README.md#database-configuration
DB: "mysql"
DB_HOST: ""
DB_PORT: "3306"
DB_NAME: "healthchecks"
DB_USER: "healthchecks"
DB_PASSWORD: "9tjgMCf0Ha0ZNyZwcUe9XzYG"
# Healthchecks app config
SECRET_KEY: "blablabla123"
ALLOWED_HOSTS: 'localhost,healthchecks.example.com'
DEBUG: "False"
DEFAULT_FROM_EMAIL: "[email protected]"
USE_PAYMENTS: "False"
REGISTRATION_OPEN: "False"
EMAIL_HOST: ""
EMAIL_PORT: "587"
EMAIL_HOST_USER: ""
EMAIL_HOST_PASSWORD: ""
EMAIL_USE_TLS: "True"
#for email listener service
SMTPD_PORT: "2525"
SITE_ROOT: "https://hc.example.com"
SITE_NAME: "Mychecks"
MASTER_BADGE_LABEL: "Mychecks"
PING_ENDPOINT: "https://hc.example.com/ping/"
PING_EMAIL_DOMAIN: "hc.example.com"
# Healthchecks integration config
TWILIO_ACCOUNT: "None"
TWILIO_AUTH: "None"
TWILIO_FROM: "None"
PD_VENDOR_KEY: "None"
TRELLO_APP_KEY: "None"
CONTAINER_PRUNE_INTERVAL: 600
# Comment the `links` and `depends_on` out if you want to use SQLite instead of mysql
links:
- mysql
depends_on:
- mysql
# MySQL MariaDB databse server
mysql:
image: mariadb:11.6
restart: always
environment:
MYSQL_DATABASE: 'healthchecks'
# If you change the mysql user/password, you must update the `healthchecks` container
# mysql credentials as well
MYSQL_USER: 'healthchecks'
MYSQL_PASSWORD: '9tjgMCf0Ha0ZNyZwcUe9XzYG'
# Where our data will be persisted
volumes:
- mysql:/var/lib/mysql
volumes:
mysql:
# If you want to use SQLite instead of MySQL, uncomment the `SQLite` lines
#SQLite: