19 lines
663 B
Text
19 lines
663 B
Text
version: "3"
|
|
services:
|
|
directus:
|
|
image: directus/directus:11.3.2
|
|
user: ${PARAM_RUNLEVEL} # root (insecure) or UID/GID
|
|
ports:
|
|
- ${IP}:${PORT}:8055
|
|
volumes:
|
|
- ${DATA_DIR}/database:/directus/database
|
|
- ${DATA_DIR}/uploads:/directus/uploads
|
|
- ${DATA_DIR}/extensions:/directus/extensions
|
|
environment:
|
|
SECRET: ${PARAM_KEY} # pwgen 64 1 --secure
|
|
ADMIN_EMAIL: ${PARAM_USER} # Mail Format
|
|
ADMIN_PASSWORD: ${PARAM_PASS}
|
|
DB_CLIENT: sqlite3
|
|
DB_FILENAME: /directus/database/data.db
|
|
WEBSOCKETS_ENABLED: ${PARAM_WS} # true or false to enable WebSockets. Can be insecure if exposed !
|
|
networks: {}
|