first
This commit is contained in:
commit
03ac0c3b53
|
|
@ -0,0 +1,23 @@
|
|||
version: '3'
|
||||
services:
|
||||
dodoc-node:
|
||||
image: registry.3peaks.re/dodoc-guillaume-linux
|
||||
volumes:
|
||||
- ./Documents:/home/node/Documents
|
||||
- ./settings.json:/src/l-atelier-des-chercheurs/dodoc/settings.json
|
||||
restart: always
|
||||
ports:
|
||||
# - "8080:8080"
|
||||
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=frontend"
|
||||
- "traefik.http.routers.dodoc-http.rule=Host(`dodoc.3peaks.re`)"
|
||||
- "traefik.http.routers.dodoc-http.entrypoints=entrypoints-http"
|
||||
- "traefik.http.routers.dodoc-http.middlewares=redirect"
|
||||
- "traefik.http.middlewares.redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.dodoc-https.rule=Host(`dodoc.3peaks.re`)"
|
||||
- "traefik.http.routers.dodoc-https.entrypoints=entrypoints-https"
|
||||
- "traefik.http.routers.dodoc-https.tls.certresolver=myresolver"
|
||||
- "traefik.http.services.dodoc.loadbalancer.server.port=8080"
|
||||
|
||||
|
|
@ -0,0 +1,630 @@
|
|||
{
|
||||
"protocol": "http",
|
||||
"host": "localhost",
|
||||
"desired_port": 8080,
|
||||
"redirect_port": "",
|
||||
"userDirPath": "documents",
|
||||
"userDirname": "dodoc2",
|
||||
"cache_content": true,
|
||||
|
||||
"contentDirname": "user",
|
||||
"cacheDirname": "dodoc_cache",
|
||||
"metaFileext": ".txt",
|
||||
"thumbExt": ".jpeg",
|
||||
"thumbFormat": "jpeg",
|
||||
"folderMetaFilename": "meta",
|
||||
"folderPreviewFilename": "meta_preview",
|
||||
|
||||
"privateKeyPath": "",
|
||||
"certificatePath": "",
|
||||
|
||||
"metaDateFormat": "YYYYMMDD_HHmmss",
|
||||
"textEncoding": "UTF-8",
|
||||
"thumbFolderName": "_thumbs",
|
||||
"deletedFolderName": "_bin",
|
||||
|
||||
"ffmpeg_options": {
|
||||
"priority": 0,
|
||||
"timeout": 600
|
||||
},
|
||||
|
||||
"mediaThumbQuality": 70,
|
||||
"maxFileSizeForUpload": 10000,
|
||||
|
||||
"regexpMatchFolderNames": "^([^.]+)$",
|
||||
"regexpGetFileExtension": "\\.[^.]*$",
|
||||
"regexpRemoveFileExtension": "(.+?)(\\.[^.]*$|$)",
|
||||
|
||||
"api": {
|
||||
"enabled": false,
|
||||
"allow_all_domains": false,
|
||||
"domains_whitelist": ["localhost"]
|
||||
},
|
||||
|
||||
"structure": {
|
||||
"projects": {
|
||||
"path": "",
|
||||
"preview": {
|
||||
"width": 1200,
|
||||
"height": 1200,
|
||||
"thumbs": {
|
||||
"resolutions": [50, 320, 640]
|
||||
}
|
||||
},
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"date_modified": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"override": true
|
||||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
},
|
||||
"keywords": {
|
||||
"type": "array"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"folder": {
|
||||
"type": "string"
|
||||
},
|
||||
"editing_limited_to": {
|
||||
"type": "string",
|
||||
"options": ["everybody", "with_password", "only_authors", "nobody"],
|
||||
"default": "everybody"
|
||||
},
|
||||
"viewing_limited_to": {
|
||||
"type": "string",
|
||||
"options": ["everybody", "only_authors", ""],
|
||||
"default": "everybody"
|
||||
}
|
||||
},
|
||||
"medias": {
|
||||
"thumbs": {
|
||||
"resolutions": [180, 360, 1600]
|
||||
},
|
||||
"fields": {
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"date_modified": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"override": true
|
||||
},
|
||||
"date_uploaded": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"media_filename": {
|
||||
"type": "string"
|
||||
},
|
||||
"original_media_filename": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"options": [
|
||||
"image",
|
||||
"video",
|
||||
"audio",
|
||||
"text",
|
||||
"code",
|
||||
"stl",
|
||||
"document",
|
||||
"other"
|
||||
],
|
||||
"default": "other"
|
||||
},
|
||||
"fav": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"ratio": {
|
||||
"type": "number"
|
||||
},
|
||||
"duration": {
|
||||
"type": "number"
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
},
|
||||
"keywords": {
|
||||
"type": "array"
|
||||
},
|
||||
"caption": {
|
||||
"type": "string"
|
||||
},
|
||||
"file_meta": {
|
||||
"type": "array",
|
||||
"read_only": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"authors": {
|
||||
"path": "_authors",
|
||||
"preview": {
|
||||
"width": 1200,
|
||||
"height": 1200,
|
||||
"thumbs": {
|
||||
"resolutions": [50, 180, 640]
|
||||
}
|
||||
},
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"transform": "crypt"
|
||||
},
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"email": {
|
||||
"type": "string",
|
||||
"show_only_to": ["self", "admin"]
|
||||
},
|
||||
"role": {
|
||||
"type": "string",
|
||||
"options": ["contributor", "participant", "admin"],
|
||||
"default": "contributor",
|
||||
"only_admin_can_edit": true
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"nfc_tag": {
|
||||
"type": "string"
|
||||
},
|
||||
"last_messages_read_in_channels": {
|
||||
"type": "array"
|
||||
}
|
||||
}
|
||||
},
|
||||
"publications": {
|
||||
"path": "_publications",
|
||||
"preview": {
|
||||
"width": 1200,
|
||||
"height": 1200,
|
||||
"thumbs": {
|
||||
"resolutions": [180, 640]
|
||||
}
|
||||
},
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
},
|
||||
"keywords": {
|
||||
"type": "array"
|
||||
},
|
||||
|
||||
"editing_limited_to": {
|
||||
"type": "string",
|
||||
"options": ["everybody", "with_password", "only_authors", "nobody"],
|
||||
"default": "everybody"
|
||||
},
|
||||
"viewing_limited_to": {
|
||||
"type": "string",
|
||||
"options": ["everybody", "only_authors", ""],
|
||||
"default": "everybody"
|
||||
},
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"date_modified": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"override": true
|
||||
},
|
||||
"date_submitted": {
|
||||
"type": "date"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"attached_to_project": {
|
||||
"type": "string"
|
||||
},
|
||||
"show_on_external_domain": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"template": {
|
||||
"type": "string",
|
||||
"options": [
|
||||
"page_by_page",
|
||||
"carreau",
|
||||
"video_assemblage",
|
||||
"stopmotion_animation",
|
||||
"mix_audio_and_video",
|
||||
"mix_audio_and_image",
|
||||
"drawing_pad",
|
||||
"video_effects",
|
||||
"story"
|
||||
],
|
||||
"default": "page_by_page"
|
||||
},
|
||||
"style": {
|
||||
"type": "string",
|
||||
"options": ["standard", "feuille de choux", "human tech days"],
|
||||
"default": "standard"
|
||||
},
|
||||
"width": {
|
||||
"type": "number"
|
||||
},
|
||||
"height": {
|
||||
"type": "number"
|
||||
},
|
||||
"header_left": {
|
||||
"type": "string"
|
||||
},
|
||||
"header_right": {
|
||||
"type": "string"
|
||||
},
|
||||
"margin_left": {
|
||||
"type": "number"
|
||||
},
|
||||
"margin_right": {
|
||||
"type": "number"
|
||||
},
|
||||
"margin_top": {
|
||||
"type": "number"
|
||||
},
|
||||
"margin_bottom": {
|
||||
"type": "number"
|
||||
},
|
||||
"show_page_number": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"gridstep": {
|
||||
"type": "number"
|
||||
},
|
||||
"snap_to_grid": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"pages": {
|
||||
"type": "array"
|
||||
},
|
||||
"removed_pages": {
|
||||
"type": "array"
|
||||
},
|
||||
"layers": {
|
||||
"type": "array"
|
||||
},
|
||||
"medias_slugs": {
|
||||
"type": "array"
|
||||
},
|
||||
"effects": {
|
||||
"type": "array"
|
||||
},
|
||||
"is_model": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"follows_model": {
|
||||
"type": "string"
|
||||
},
|
||||
"number_of_medias": {
|
||||
"type": "number",
|
||||
"only_admin_can_edit": true
|
||||
}
|
||||
},
|
||||
"medias": {
|
||||
"thumbs": {
|
||||
"resolutions": [180, 360, 1600]
|
||||
},
|
||||
"fields": {
|
||||
"slugProjectName": {
|
||||
"type": "string"
|
||||
},
|
||||
"slugMediaName": {
|
||||
"type": "string"
|
||||
},
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"date_modified": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"override": true
|
||||
},
|
||||
"caption": {
|
||||
"type": "string"
|
||||
},
|
||||
"instructions": {
|
||||
"type": "string"
|
||||
},
|
||||
"hide_instructions_when_fulfilled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"available_modes": {
|
||||
"type": "array"
|
||||
},
|
||||
"answers": {
|
||||
"type": "string"
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
},
|
||||
"custom_css": {
|
||||
"type": "string"
|
||||
},
|
||||
"page_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"layer_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"options": [
|
||||
"text",
|
||||
"placeholder",
|
||||
"divider",
|
||||
"solid_color",
|
||||
"rectangle",
|
||||
"free_drawing",
|
||||
"ellipsis",
|
||||
"line",
|
||||
"arrow",
|
||||
|
||||
"image",
|
||||
"video",
|
||||
"audio",
|
||||
"code",
|
||||
"stl",
|
||||
"document",
|
||||
"other"
|
||||
],
|
||||
"default": "other"
|
||||
},
|
||||
"color": {
|
||||
"type": "string"
|
||||
},
|
||||
"media_filename": {
|
||||
"type": "string"
|
||||
},
|
||||
"duration": {
|
||||
"type": "number",
|
||||
"clip": {
|
||||
"min": 0,
|
||||
"max": 999
|
||||
}
|
||||
},
|
||||
"volume": {
|
||||
"type": "number",
|
||||
"clip": {
|
||||
"min": 0,
|
||||
"max": 100
|
||||
}
|
||||
},
|
||||
"drawing_paths": {
|
||||
"type": "string"
|
||||
},
|
||||
"transition_in": {
|
||||
"type": "string"
|
||||
},
|
||||
"transition_out": {
|
||||
"type": "string"
|
||||
},
|
||||
"x": {
|
||||
"type": "number"
|
||||
},
|
||||
"y": {
|
||||
"type": "number"
|
||||
},
|
||||
"rotate": {
|
||||
"type": "number"
|
||||
},
|
||||
"width": {
|
||||
"type": "number"
|
||||
},
|
||||
"height": {
|
||||
"type": "number"
|
||||
},
|
||||
"fit_mode": {
|
||||
"type": "string"
|
||||
},
|
||||
"locked_in_place": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"plain_text": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"only_numbers": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"force_text_style": {
|
||||
"type": "string"
|
||||
},
|
||||
"loop_play": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"basic_player": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"z_index": {
|
||||
"type": "number",
|
||||
"clip": {
|
||||
"min": -20000,
|
||||
"max": 20000
|
||||
}
|
||||
},
|
||||
"canvas_information": {
|
||||
"type": "string",
|
||||
"escape": false
|
||||
},
|
||||
"file_meta": {
|
||||
"type": "array",
|
||||
"read_only": true
|
||||
},
|
||||
"margin": {
|
||||
"type": "number"
|
||||
},
|
||||
"font_size_percent": {
|
||||
"type": "number"
|
||||
},
|
||||
"opacity": {
|
||||
"type": "number"
|
||||
},
|
||||
"blend_mode": {
|
||||
"type": "string"
|
||||
},
|
||||
"fill_color": {
|
||||
"type": "string"
|
||||
},
|
||||
"stroke_color": {
|
||||
"type": "string"
|
||||
},
|
||||
"stroke_width": {
|
||||
"type": "number"
|
||||
},
|
||||
"placeholder_meta_reference": {
|
||||
"type": "string"
|
||||
},
|
||||
"placeholder_medias_slugs": {
|
||||
"type": "array"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"stopmotions": {
|
||||
"path": "_stopmotions",
|
||||
"fields": {
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"date_modified": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"override": true
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
},
|
||||
"linked_project": {
|
||||
"type": "string",
|
||||
"comment": "is_deprecated_and_replaced_with_linked_folder"
|
||||
},
|
||||
"linked_folder": {
|
||||
"type": "string"
|
||||
},
|
||||
"linked_type": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"medias": {
|
||||
"thumbs": {
|
||||
"resolutions": [150, 1200]
|
||||
},
|
||||
"fields": {
|
||||
"date_uploaded": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"media_filename": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"options": ["image"],
|
||||
"default": "other"
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
},
|
||||
"file_meta": {
|
||||
"type": "array",
|
||||
"read_only": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"chats": {
|
||||
"path": "_chats",
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"date_modified": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"override": true
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
},
|
||||
"editing_limited_to": {
|
||||
"type": "string",
|
||||
"options": ["everybody", "only_authors", "nobody"],
|
||||
"default": "everybody"
|
||||
},
|
||||
"viewing_limited_to": {
|
||||
"type": "string",
|
||||
"options": ["everybody", "only_authors", ""],
|
||||
"default": "everybody"
|
||||
},
|
||||
"pinned": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"number_of_medias": {
|
||||
"type": "number",
|
||||
"only_admin_can_edit": true
|
||||
}
|
||||
},
|
||||
"medias": {
|
||||
"fields": {
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"text": {
|
||||
"type": "string"
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue