You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
47 lines
1.2 KiB
version: '3'
|
|
services:
|
|
|
|
cache:
|
|
container_name: cache
|
|
image: redis:6
|
|
networks:
|
|
- directus
|
|
|
|
directus:
|
|
container_name: directus
|
|
image: directus/directus:latest
|
|
ports:
|
|
- 8088:8055
|
|
volumes:
|
|
# By default, uploads are stored in /directus/uploads
|
|
# Always make sure your volumes matches the storage root when using
|
|
# local driver
|
|
- ./app/uploads:/directus/uploads
|
|
# Make sure to also mount the volume when using SQLite
|
|
- ./app/database:/directus/database
|
|
# If you want to load extensions from the host
|
|
- ./app/extensions:/directus/extensions
|
|
networks:
|
|
- directus
|
|
depends_on:
|
|
- cache
|
|
environment:
|
|
KEY: 'f8b6f7c6-f3b4-41ef-883f-f97bd2506136'
|
|
SECRET: '12011038-b561-4f86-982e-575612c37cc7'
|
|
|
|
DB_CLIENT: 'sqlite3'
|
|
DB_FILENAME: 'desearch_directus.db'
|
|
|
|
CACHE_ENABLED: 'true'
|
|
CACHE_STORE: 'redis'
|
|
CACHE_REDIS: 'redis://cache:6379'
|
|
|
|
ADMIN_EMAIL: 'root@derfunke.net'
|
|
ADMIN_PASSWORD: 'PR45C7Zf49UyG5MP458Xdnd'
|
|
|
|
# Make sure to set this in production
|
|
# (see https://docs.directus.io/configuration/config-options/#general)
|
|
PUBLIC_URL: 'https://cms.desearch.cc'
|
|
|
|
networks:
|
|
directus:
|