Skip to content

Commit cdedf3b

Browse files
authored
Merge pull request coollabsio#2885 from leocabeza/next
feat: add easyappointments service template
2 parents 63f329d + 846e451 commit cdedf3b

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

public/svgs/easyappointments.png

24.7 KB
Loading
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# documentation: https://easyappointments.org/
2+
# slogan: SCHEDULE ANYTHING. - Let's start with easy! Get the best free online appointment scheduler on your server, today.
3+
# tags: calendar, scheduling, database
4+
# logo: svgs/easyappointments.png
5+
# port: 80
6+
7+
services:
8+
easyappointments:
9+
image: alextselegidis/easyappointments:latest
10+
restart: unless-stopped
11+
environment:
12+
- SERVICE_FQDN_EASYAPPOINTMENTS_80
13+
- BASE_URL=${SERVICE_FQDN_EASYAPPOINTMENTS}
14+
- DB_HOST=mysql
15+
- DB_NAME=easyappointments
16+
- DB_USERNAME=root
17+
- DB_PASSWORD=${SERVICE_PASSWORD_EASYAPPOINTMENTS}
18+
depends_on:
19+
- mysql
20+
healthcheck:
21+
test: ["CMD", "curl", "-f", "http://127.0.0.1"]
22+
interval: 2s
23+
timeout: 10s
24+
retries: 30
25+
mysql:
26+
image: 'mysql:8.0'
27+
restart: unless-stopped
28+
volumes:
29+
- './docker/mysql:/var/lib/mysql'
30+
environment:
31+
- MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_EASYAPPOINTMENTS}
32+
- MYSQL_DATABASE=easyappointments
33+
healthcheck:
34+
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1"]
35+
interval: 5s
36+
timeout: 20s
37+
retries: 10

0 commit comments

Comments
 (0)