services: directus-prod: container_name: directus-prod-cmdb-${IP}-${PORT} 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 ! directus-sandbox: container_name: directus-sandbox-cmdb-${S_IP}-${S_PORT} image: directus/directus:11.3.2 user: ${S_PARAM_RUNLEVEL} # root (insecure) or UID/GID ports: - ${S_IP}:${S_PORT}:8055 volumes: - ${S_DATA_DIR}/database:/directus/database - ${S_DATA_DIR}/uploads:/directus/uploads - ${S_DATA_DIR}/extensions:/directus/extensions environment: SECRET: ${S_PARAM_KEY} # pwgen 64 1 --secure ADMIN_EMAIL: ${S_PARAM_USER} # Mail Format ADMIN_PASSWORD: ${S_PARAM_PASS} DB_CLIENT: sqlite3 DB_FILENAME: /directus/database/data.db WEBSOCKETS_ENABLED: ${S_PARAM_WS} # true or false to enable WebSockets. Can be insecure if exposed ! networks: {}