feat: add easyappointments service template
This commit is contained in:
BIN
public/svgs/easyappointments.png
Normal file
BIN
public/svgs/easyappointments.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
37
templates/compose/easyappointments.yaml
Normal file
37
templates/compose/easyappointments.yaml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# documentation: https://easyappointments.org/
|
||||||
|
# slogan: SCHEDULE ANYTHING. - Let's start with easy! Get the best free online appointment scheduler on your server, today.
|
||||||
|
# tags: calendar, scheduling, database
|
||||||
|
# logo: svgs/easyappointments.png
|
||||||
|
# port: 80
|
||||||
|
|
||||||
|
services:
|
||||||
|
easyappointments:
|
||||||
|
image: alextselegidis/easyappointments:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- SERVICE_FQDN_EASYAPPOINTMENTS_80
|
||||||
|
- BASE_URL=${SERVICE_FQDN_EASYAPPOINTMENTS}
|
||||||
|
- DB_HOST=mysql
|
||||||
|
- DB_NAME=easyappointments
|
||||||
|
- DB_USERNAME=root
|
||||||
|
- DB_PASSWORD=${SERVICE_PASSWORD_EASYAPPOINTMENTS}
|
||||||
|
depends_on:
|
||||||
|
- mysql
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://127.0.0.1"]
|
||||||
|
interval: 2s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 30
|
||||||
|
mysql:
|
||||||
|
image: 'mysql:8.0'
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- './docker/mysql:/var/lib/mysql'
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_EASYAPPOINTMENTS}
|
||||||
|
- MYSQL_DATABASE=easyappointments
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 20s
|
||||||
|
retries: 10
|
Reference in New Issue
Block a user