-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
106 lines (102 loc) · 2.95 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#
# Useful references:
# https://docs.docker.com/compose/compose-file/
# https://docs.docker.com/compose/reference/overview/#use--f-to-specify-name-and-path-of-one-or-more-compose-files
# https://docs.docker.com/compose/reference/envvars/
#
#########################################################################
# WARNING: This file is generated. Do not make changes to this file. #
# They will be overwritten on update. If you want to make additions to #
# this file, you can create a `docker-compose.override.yml` file in the #
# same directory and it will be merged into this file at runtime. You #
# can also manage various settings used in this file from the #
# ./bwdata/config.yml file for your installation. #
#########################################################################
version: '3'
services:
web:
image: yiisoftware/yii2-php:7.4-apache
container_name: rmb-web
restart: always
volumes:
- ~/.composer-docker/cache:/root/.composer/cache
- ./app:/app
environment:
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
- DATA_ENCRYPT_PASSWORD
- ZABBIX_AUTHKEY
depends_on:
- db
ports:
- "80:80"
db:
image: mariadb
container_name: rmb-db
restart: always
volumes:
- ./db:/var/lib/mysql
environment:
- MARIADB_DATABASE=${MYSQL_DATABASE}
- MARIADB_USER=${MYSQL_USER}
- MARIADB_PASSWORD=${MYSQL_PASSWORD}
- MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD}
n8n:
build: n8n/
container_name: rmb-n8n
restart: always
stop_grace_period: 60s
environment:
- EXECUTIONS_PROCESS=main
- N8N_USER_MANAGEMENT_DISABLED=true
- LANG=ru_RU.UTF-8
- LANGUAGE=ru_RU:en
- LC_ALL=ru_RU.UTF-8
- GENERIC_TIMEZONE
- TZ
- CRON_START
- CRON_PURGE_START
- N8N_BASIC_AUTH_ACTIVE
- N8N_BASIC_AUTH_USER
- N8N_BASIC_AUTH_PASSWORD
- EXECUTIONS_TIMEOUT_MAX
- NODE_ENV=production
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
- DATA_ENCRYPT_PASSWORD
- MK_BACKUP_ENCRYPT_PASSWORD
- MK_BACKUP_BINARY
- MK_BACKUP_EXPORT
- MK_BACKUP_HIDE_SENSITIVE
- PURGE_OLD_BACKUP
- PURGE_N_PIECE
- GIT_USING
- GIT_URL
- GIT_USER
- GIT_PASSWORD
- GIT_CONFIG_USERNAME
- GIT_CONFIG_USERMAIL
- ERROR_NOTIFICATION_TELEGRAM
- ERROR_NOTIFICATION_EMAIL
- REPORT_SEND_TELEGRAM
- REPORT_SEND_EMAIL
- SMTP_SERVER
- SMTP_PORT
- SMTP_USER
- SMTP_PASSWORD
- SMTP_SSL
- SMTP_FROM_MAIL
- SMTP_TO_MAIL_NOTIFY
- SMTP_TO_MAIL_REPORT
- TELEGRAM_ACCESS_TOKEN
- TELEGRAM_CHATID_NOTIFY
- TELEGRAM_CHATID_REPORT
volumes:
- ./n8n/data:/root/.n8n
- ./backups:/home/node/backup
- ./data-export:/home/node/data-export
- ./n8n/docker-entrypoint.sh:/docker-entrypoint.sh
depends_on:
- web