-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcompose.yml
More file actions
61 lines (58 loc) · 1.5 KB
/
compose.yml
File metadata and controls
61 lines (58 loc) · 1.5 KB
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
services:
gonder:
build: .
hostname: gonder
ports:
- '8080:8080'
- '7777:7777'
environment:
#GONDER_MAIN_DEFAULT_PROFILE_ID (int)
#GONDER_MAIN_ADMIN_EMAIL (string)
#GONDER_MAIN_GONDER_EMAIL (string)
#GONDER_MAIN_SECRET_STRING (string)
GONDER_DATABASE_STRING: gonder:gonder@tcp(db:3306)/gonder
#GONDER_DATABASE_CONNECTIONS (int)
GONDER_MAILER_SEND: false
#GONDER_MAILER_DONT_USE_TLS (bool)
#GONDER_MAILER_DNS_CACHE (bool)
#GONDER_MAILER_MAX_CAMPAIGNS (int)
#GONDER_UTM_DEFAULT_URL (string)
#GONDER_UTM_TEMPLATES_DIR (string)
#GONDER_UTM_FILES_DIR (string)
#GONDER_UTM_PORT (int)
#GONDER_API_PORT (int)
#GONDER_API_PANEL_PATH (string)
#GONDER_API_PANEL_LOCALE (string)
volumes:
- app_files:/app/files
- app_log:/app/log
depends_on:
db:
condition: service_healthy
db:
image: mariadb
hostname: db
restart: always
environment:
MARIADB_ROOT_PASSWORD: gonder
MARIADB_USER: gonder
MARIADB_PASSWORD: gonder
MARIADB_DATABASE: gonder
ports:
- 3306:3306
volumes:
- ./sqldata/dump.sql:/docker-entrypoint-initdb.d/dump.sql
- db_data:/var/lib/mysql
healthcheck:
test: [ "CMD", "healthcheck.sh", "--connect", "--innodb_initialized" ]
start_period: 10s
start_interval: 10s
interval: 1m
timeout: 5s
retries: 3
volumes:
app_files:
app_log:
db_data:
networks:
gonder: