forked from luketainton/hesk-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.example.yml
54 lines (52 loc) · 1.63 KB
/
docker-compose.example.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
# This is an example docker-compose file for running HESK with MariaDB. It is not fully tested as
# I don't use docker-compose for my own deployments. It is only meant to give you an idea of how to set yours up.
# Use at your own risk.
---
version: "3"
services:
mariadb:
# TODO: Do not use latest tag in production.
image: mariadb:latest
restart: always
environment:
# TODO: Change the root password before deploying.
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: hesk
MARIADB_USER: hesk
# TODO: Change the password before deploying.
MARIADB_PASSWORD: hesk
volumes:
- mariadb_data:/var/lib/mysql
hesk:
depends_on:
- mariadb
# TODO: Do not use latest tag in production.
image: ghcr.io/trdillon/hesk:latest
restart: always
environment:
HESK_DB_HOST: mariadb
HESK_DB_NAME: hesk
HESK_DB_USER: hesk
# TODO: Change the password before deploying.
HESK_DB_PASS: hesk
# Add any additional settings you want to preset here.
# Check the HESK documentation for more information.
# NOTE: Not all settings have been tested. Use at your own risk.
# Email
# HESK_SMTP_HOST_NAME: smtp.example.com
# HESK_SMTP_HOST_PORT: 587
# HESK_SMTP_USER: postmaster@example.com
# HESK_SMTP_PASSWORD: password
# HESK_IMAP_HOST_NAME: imap.example.com
# HESK_IMAP_HOST_PORT: 993
# HESK_IMAP_USER: support@example.com
# HESK_IMAP_PASSWORD: password
# Security
# HESK_URL_KEY: ChangeMe
# HESK_FORCE_SSL: 1
# HESK_REQUIRE_MFA: 1
ports:
- "80:80"
volumes:
mariadb_data: {}
...