diff --git a/public/svgs/easyappointments.png b/public/svgs/easyappointments.png new file mode 100644 index 000000000..8f00d3353 Binary files /dev/null and b/public/svgs/easyappointments.png differ diff --git a/templates/compose/easyappointments.yaml b/templates/compose/easyappointments.yaml new file mode 100644 index 000000000..d4b371817 --- /dev/null +++ b/templates/compose/easyappointments.yaml @@ -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