coolify/templates/compose/freescout.yaml

49 lines
1.5 KiB
YAML
Raw Normal View History

2025-03-15 09:08:18 +00:00
# documentation: https://github.com/freescout-help-desk/freescout/wiki/
2025-03-15 08:39:01 +00:00
# slogan: FreeScout is the super lightweight and powerful free open source help desk and shared inbox written in PHP (Laravel framework).
# category: cms
2025-03-15 08:39:01 +00:00
# tags: helpdesk, support, ticketing, customer-support
# logo: svgs/freescout.png
# port: 80
services:
freescout:
image: tiredofit/freescout:latest
volumes:
- freescout-data:/data
- freescout-logs:/www/logs
depends_on:
mariadb:
condition: service_healthy
environment:
- SERVICE_URL_FREESCOUT_80
2025-03-15 08:39:01 +00:00
- DB_HOST=mariadb
2025-03-15 09:04:44 +00:00
- DB_NAME=${MARIADB_DATABASE:-freescout}
2025-03-15 08:39:01 +00:00
- DB_USER=${SERVICE_USER_MARIADB:-freescout}
2025-03-15 09:04:44 +00:00
- DB_PASS=${SERVICE_PASSWORD_MARIADB}
- SITE_URL=${SERVICE_URL_FREESCOUT}
2025-03-15 09:04:44 +00:00
- ADMIN_EMAIL=${ADMIN_EMAIL:-admin@example.com}
2025-03-15 08:39:01 +00:00
- ADMIN_PASS=${SERVICE_PASSWORD_ADMIN}
- DISPLAY_ERRORS=${DISPLAY_ERRORS:-FALSE}
- TIMEZONE=${TIMEZONE:-UTC}
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1"]
start_period: 10s
interval: 5s
timeout: 10s
retries: 15
mariadb:
image: mariadb
volumes:
- mariadb-data:/var/lib/mysql
environment:
2025-03-15 09:04:44 +00:00
- MARIADB_ROOT_PASSWORD=${SERVICE_PASSWORD_ROOT}
- MARIADB_DATABASE=${MARIADB_DATABASE}
2025-03-15 08:39:01 +00:00
- MARIADB_USER=${SERVICE_USER_MARIADB}
2025-03-15 09:04:44 +00:00
- MARIADB_PASSWORD=${SERVICE_PASSWORD_MARIADB}
2025-03-15 08:39:01 +00:00
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
interval: 5s
timeout: 10s
retries: 15