Created
October 7, 2023 14:29
-
-
Save Arthurdw/09ed4952d0ea76c540af2417f4647aa6 to your computer and use it in GitHub Desktop.
CasaMate directus CMS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
database: | |
image: postgis/postgis:13-master | |
# Required when running on platform other than amd64, like Apple M1/M2: | |
# platform: linux/amd64 | |
volumes: | |
- ./data/database:/var/lib/postgresql/data | |
environment: | |
POSTGRES_USER: 'directus' | |
POSTGRES_PASSWORD: 'directus' | |
POSTGRES_DB: 'directus' | |
cache: | |
image: redis:6 | |
directus: | |
image: directus/directus:latest | |
ports: | |
- 8055:8055 | |
volumes: | |
- ./uploads:/directus/uploads | |
# If you want to load extensions from the host | |
# - ./extensions:/directus/extensions | |
depends_on: | |
- cache | |
- database | |
environment: | |
KEY: '255d861b-5ea1-5996-9aa3-922530ec40b1' | |
SECRET: '6116487b-cda1-52c2-b5b5-c8022c45e263' | |
DB_CLIENT: 'pg' | |
DB_HOST: 'database' | |
DB_PORT: '5432' | |
DB_DATABASE: 'directus' | |
DB_USER: 'directus' | |
DB_PASSWORD: 'directus' | |
CACHE_ENABLED: 'true' | |
CACHE_STORE: 'redis' | |
REDIS: 'redis://cache:6379' | |
ADMIN_EMAIL: '[email protected]' | |
ADMIN_PASSWORD: 'howest' | |
# Make sure to set this in production | |
# (see https://docs.directus.io/self-hosted/config-options#general) | |
# PUBLIC_URL: 'https://directus.example.com' WEBSOCKETS_ENABLED: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment