forked from bobdrummond/docker-booked
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
77 lines (73 loc) · 2.46 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
version: "3"
services:
booked:
build:
context: .
args:
VERSION: 2.8.2
image: mkdryden/docker-booked
environment:
BOOKED_APP_TITLE: "Booked Scheduler"
BOOKED_DEFAULT_TIMEZONE: "America/Toronto"
BOOKED_ALLOW_SELF_REGISTRATION: "true"
BOOKED_ADMIN_EMAIL: "[email protected]"
BOOKED_WEB_URL: "http://localhost/Web"
BOOKED_REGISTRATION_REQUIRE_EMAIL_ACTIVATION: "true"
BOOKED_INSTALL_PASSWORD: ""
BOOKED_EMAIL_DEFAULT_FROM_ADDRESS: "[email protected]"
BOOKED_EMAIL_DEFAULT_FROM_NAME: "Booked Scheduler"
BOOKED_RESERVATION_ALLOW_WAIT_LIST: "true"
BOOKED_SCHEDULE_USE_PER_USER_COLORS: "true"
BOOKED_PRIVACY_VIEW_SCHEDULES: "true"
BOOKED_PRIVACY_VIEW_RESERVATIONS: "true"
BOOKED_PRIVACY_HIDE_USER_DETAILS: "true"
BOOKED_RESERVATION_DESCRIPTION_REQUIRED: "true"
BOOKED_PHPMAILER_MAILER: "smtp"
BOOKED_PHPMAILER_SMTP_HOST: ""
BOOKED_PHPMAILER_SMTP_SECURE: "tls"
BOOKED_PHPMAILER_SMTP_USERNAME: ""
BOOKED_PHPMAILER_SMTP_PASSWORD: ""
volumes:
- webroot:/var/www
labels:
deck-chores.reminders.command: php -f /var/www/booked/Jobs/sendreminders.php
deck-chores.reminders.interval: every minute
deck-chores.reminders.jitter: 10
deck-chores.autorelease.command: php -f /var/www/booked/Jobs/autorelease.php
deck-chores.autorelease.interval: every minute
deck-chores.autorelease.jitter: 10
deck-chores.missedcheckin.command: php -f /var/www/booked/Jobs/sendmissedcheckin.php
deck-chores.missedcheckin.interval: every minute
deck-chores.missedcheckin.jitter: 0
deck-chores.waitlist.command: php -f /var/www/booked/Jobs/sendwaitlist.php
deck-chores.waitlist.interval: every minute
deck-chores.waitlist.jitter: 10
depends_on:
- mysql
- officer
mysql:
image: mysql:8
volumes:
- sqldata:/var/lib/mysql
environment:
- MYSQL_DATABASE=bookedscheduler
- MYSQL_USER=booked_user
- MYSQL_PASSWORD=password
- MYSQL_RANDOM_ROOT_PASSWORD=true
web:
image: nginx:latest
ports:
- 80
volumes:
- webroot:/var/www
- ./site.conf:/etc/nginx/conf.d/default.conf
officer:
image: funkyfuture/deck-chores:1
restart: unless-stopped
environment:
TIMEZONE: America/Toronto
volumes:
- /var/run/docker.sock:/var/run/docker.sock
volumes:
sqldata:
webroot: