lasthourcloud/templates/compose/directus.yaml

29 lines
927 B
YAML
Raw Permalink Normal View History

2024-02-20 14:07:12 +00:00
# documentation: https://directus.io
2024-02-21 13:30:32 +00:00
# slogan: Directus wraps databases with a dynamic API, and provides an intuitive app for managing its content.
# tags: directus, cms, database, sql
2024-02-20 14:07:12 +00:00
# logo: svgs/directus.svg
# port: 8055
2024-02-20 14:07:12 +00:00
services:
directus:
image: directus/directus:10
volumes:
- directus-uploads:/directus/uploads
- directus-database:/directus/database
- directus-extensions:/directus/extensions
environment:
- SERVICE_FQDN_DIRECTUS_8055
- KEY=$SERVICE_BASE64_64_KEY
- SECRET=$SERVICE_BASE64_64_SECRET
- ADMIN_EMAIL=${ADMIN_EMAIL:-admin@example.com}
- ADMIN_PASSWORD=$SERVICE_PASSWORD_ADMIN
- DB_CLIENT=sqlite3
- DB_FILENAME=/directus/database/data.db
- WEBSOCKETS_ENABLED=true
healthcheck:
test:
2024-05-17 08:11:55 +00:00
["CMD", "wget", "-q", "--spider", "http://127.0.0.1:8055/admin/login"]
interval: 5s
timeout: 20s
retries: 10