-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (35 loc) · 1.25 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
# This is a simple docker-compose file that allows to develop the extension.
#
name: dhsp
services:
# Directus!
# @see: https://docs.directus.io/self-hosted/config-options.html for all possible options
# and see docs.directus.io in general for documentation on usage.
directus:
# If you want to build a custom image, comment out the line below:
image: directus/directus:11.0.2
# To build a custom image, comment out the line above and uncomment the two
# lines below. Note that the alignment needs to be at the same level as
# "image" now is.
#build:
# context: build
restart: unless-stopped
ports:
- '8055:8055'
volumes:
- ./data/database:/directus/database
- ./data/extensions:/directus/extensions
environment:
SECRET: 'some-super-secret-here'
DB_CLIENT: 'sqlite3'
# Make sure that if you are in dev mode, the extension will auto reload!
EXTENSIONS_AUTO_RELOAD: 'true'
# Example of configuring the extension, uncomment to use:
# DHSP_BUSY_TIMEOUT: 30000
# DHSP_JOURNAL_MODE: wal
# DHSP_JOURNAL_SIZE: 5242880
# DHSP_CACHE_SIZE: -20000
# DHSP_SYNCHRONOUS: normal
# DHSP_TEMP_STORE: memory
# DHSP_MMAP_SIZE: 512000000