Michiel_Breur

opencloud truenas config

Oct 3rd, 2026
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.53 KB | Software | 0 0
  1. configs:
  2. app_entrypoint:
  3. content: >
  4. #!/bin/sh
  5.  
  6. set -e
  7.  
  8.  
  9. [ -z "$$TARGET_PATH" ] && echo "Missing required environment variable:
  10. TARGET_PATH" && exit 1
  11.  
  12. [ -z "$$APP_ID" ] && echo "Missing required environment variable: APP_ID"
  13. && exit 1
  14.  
  15. [ -z "$$SOURCE_PATH" ] && echo "Missing required environment variable:
  16. SOURCE_PATH" && exit 1
  17.  
  18. [ -z "$$ENABLED" ] && echo "Missing required environment variable:
  19. ENABLED" && exit 1
  20.  
  21.  
  22. app_path="$$TARGET_PATH/$$APP_ID"
  23.  
  24. if [ -d "$$app_path" ]; then
  25. echo "Removing old app files for [$$APP_ID] from [$$app_path]"
  26. rm -rf "$$app_path"
  27. fi
  28.  
  29.  
  30. if [ "$$ENABLED" != "true" ]; then
  31. echo "App [$$APP_ID] is disabled, exiting."
  32. exit 0
  33. fi
  34.  
  35.  
  36. mkdir -p "$$TARGET_PATH"
  37.  
  38.  
  39. echo "Copying app files for [$$APP_ID] to [$$app_path] from
  40. [$$SOURCE_PATH]"
  41.  
  42. cp -R "$$SOURCE_PATH" "$$app_path"
  43.  
  44.  
  45. echo "Setting ownership to [568:568] for [$$app_path]"
  46.  
  47. chown -R 568:568 "$$app_path"
  48.  
  49.  
  50. echo "Done!"
  51. csp:
  52. content: |
  53. directives:
  54. frame-src:
  55. - https://collabora.domain.eu/
  56. img-src:
  57. - https://collabora.domain.eu/
  58. entrypoint:
  59. content: |
  60. #!/bin/sh
  61. set -e
  62. if [ ! -f $$OC_CONFIG_DIR/opencloud.yaml ]; then
  63. echo "Config file not found!"
  64. opencloud init
  65. fi
  66. echo "Starting OpenCloud..."
  67. opencloud server
  68. opencloud_proxy:
  69. content: |
  70. additional_policies:
  71. - name: default
  72. routes:
  73. - additional_headers:
  74. - X-Script-Name: /caldav
  75. backend: http://radicale:5232
  76. endpoint: /caldav/
  77. remote_user_header: X-Remote-User
  78. skip_x_access_token: true
  79. - additional_headers:
  80. - X-Script-Name: /caldav
  81. backend: http://radicale:5232
  82. endpoint: /.well-known/caldav
  83. remote_user_header: X-Remote-User
  84. skip_x_access_token: true
  85. - additional_headers:
  86. - X-Script-Name: /carddav
  87. backend: http://radicale:5232
  88. endpoint: /carddav/
  89. remote_user_header: X-Remote-User
  90. skip_x_access_token: true
  91. - additional_headers:
  92. - X-Script-Name: /carddav
  93. backend: http://radicale:5232
  94. endpoint: /.well-known/carddav
  95. remote_user_header: X-Remote-User
  96. skip_x_access_token: true
  97. permissions_actions_data:
  98. content: >-
  99. [{"read_only": false, "mount_path": "/mnt/permission/radicale_data",
  100. "is_temporary": false, "identifier": "radicale_data", "recursive": false,
  101. "mode": "check", "uid": 568, "gid": 568, "chmod": null}, {"read_only":
  102. false, "mount_path": "/mnt/permission/config", "is_temporary": false,
  103. "identifier": "config", "recursive": false, "mode": "check", "uid": 568,
  104. "gid": 568, "chmod": null}, {"read_only": false, "mount_path":
  105. "/mnt/permission/data", "is_temporary": false, "identifier": "data",
  106. "recursive": false, "mode": "check", "uid": 568, "gid": 568, "chmod":
  107. null}]
  108. radicale_config:
  109. content: >
  110.  
  111. [server]
  112.  
  113. hosts = 0.0.0.0:5232
  114.  
  115.  
  116. [auth]
  117.  
  118. type = http_x_remote_user
  119.  
  120.  
  121. [web]
  122.  
  123. type = none
  124.  
  125.  
  126. [storage]
  127.  
  128. filesystem_folder = /var/lib/radicale/collections
  129.  
  130. predefined_collections = {"def-addressbook": {"D:displayname": "Personal
  131. Address Book", "tag": "VADDRESSBOOK"}, "def-calendar":
  132. {"C:supported-calendar-component-set": "VEVENT,VJOURNAL,VTODO",
  133. "D:displayname": "Personal Calendar", "tag": "VCALENDAR"}}
  134. networks:
  135. ix-internal-opencloud-opencloud-net:
  136. enable_ipv6: False
  137. external: False
  138. labels:
  139. tn.network.internal: 'true'
  140. name: ix-internal-opencloud-opencloud-net
  141. services:
  142. arcade:
  143. cap_add:
  144. - CHOWN
  145. - DAC_OVERRIDE
  146. - FOWNER
  147. cap_drop:
  148. - ALL
  149. configs:
  150. - mode: 493
  151. source: app_entrypoint
  152. target: /ix-entrypoint.sh
  153. depends_on:
  154. permissions:
  155. condition: service_completed_successfully
  156. deploy:
  157. resources:
  158. limits:
  159. cpus: '1'
  160. memory: 512M
  161. entrypoint:
  162. - /ix-entrypoint.sh
  163. environment:
  164. APP_ID: arcade
  165. ENABLED: 'true'
  166. GID: '568'
  167. GROUP_ID: '568'
  168. NVIDIA_VISIBLE_DEVICES: void
  169. PGID: '568'
  170. PUID: '568'
  171. SOURCE_PATH: /usr/share/nginx/html/apps/arcade
  172. TARGET_PATH: /var/lib/opencloud/web/assets/apps
  173. TZ: Europe/Amsterdam
  174. UID: '568'
  175. UMASK: '002'
  176. UMASK_SET: '002'
  177. USER_ID: '568'
  178. group_add:
  179. - 568
  180. healthcheck:
  181. disable: True
  182. image: >-
  183. opencloudeu/web-extensions:arcade-2.1.0@sha256:165731940f7a4356b4f4f21031b23e552233a60b44e1de661c5ae1ce45877d81
  184. network_mode: none
  185. platform: linux/amd64
  186. privileged: False
  187. restart: on-failure:1
  188. security_opt:
  189. - no-new-privileges=true
  190. stdin_open: False
  191. tty: False
  192. user: '0:0'
  193. volumes:
  194. - bind:
  195. create_host_path: False
  196. propagation: rprivate
  197. read_only: False
  198. source: /mnt/.ix-apps/app_mounts/opencloud/data
  199. target: /var/lib/opencloud
  200. type: bind
  201. calculator:
  202. cap_add:
  203. - CHOWN
  204. - DAC_OVERRIDE
  205. - FOWNER
  206. cap_drop:
  207. - ALL
  208. configs:
  209. - mode: 493
  210. source: app_entrypoint
  211. target: /ix-entrypoint.sh
  212. depends_on:
  213. permissions:
  214. condition: service_completed_successfully
  215. deploy:
  216. resources:
  217. limits:
  218. cpus: '1'
  219. memory: 512M
  220. entrypoint:
  221. - /ix-entrypoint.sh
  222. environment:
  223. APP_ID: calculator
  224. ENABLED: 'false'
  225. GID: '568'
  226. GROUP_ID: '568'
  227. NVIDIA_VISIBLE_DEVICES: void
  228. PGID: '568'
  229. PUID: '568'
  230. SOURCE_PATH: /usr/share/nginx/html/apps/calculator
  231. TARGET_PATH: /var/lib/opencloud/web/assets/apps
  232. TZ: Europe/Amsterdam
  233. UID: '568'
  234. UMASK: '002'
  235. UMASK_SET: '002'
  236. USER_ID: '568'
  237. group_add:
  238. - 568
  239. healthcheck:
  240. disable: True
  241. image: >-
  242. opencloudeu/web-extensions:calculator-2.1.0@sha256:44fa52cd3984ffb5accea3e1364b5f81c48a6941dfe86117a6339e2b9614bf7e
  243. network_mode: none
  244. platform: linux/amd64
  245. privileged: False
  246. restart: on-failure:1
  247. security_opt:
  248. - no-new-privileges=true
  249. stdin_open: False
  250. tty: False
  251. user: '0:0'
  252. volumes:
  253. - bind:
  254. create_host_path: False
  255. propagation: rprivate
  256. read_only: False
  257. source: /mnt/.ix-apps/app_mounts/opencloud/data
  258. target: /var/lib/opencloud
  259. type: bind
  260. cast:
  261. cap_add:
  262. - CHOWN
  263. - DAC_OVERRIDE
  264. - FOWNER
  265. cap_drop:
  266. - ALL
  267. configs:
  268. - mode: 493
  269. source: app_entrypoint
  270. target: /ix-entrypoint.sh
  271. depends_on:
  272. permissions:
  273. condition: service_completed_successfully
  274. deploy:
  275. resources:
  276. limits:
  277. cpus: '1'
  278. memory: 512M
  279. entrypoint:
  280. - /ix-entrypoint.sh
  281. environment:
  282. APP_ID: cast
  283. ENABLED: 'true'
  284. GID: '568'
  285. GROUP_ID: '568'
  286. NVIDIA_VISIBLE_DEVICES: void
  287. PGID: '568'
  288. PUID: '568'
  289. SOURCE_PATH: /usr/share/nginx/html/cast
  290. TARGET_PATH: /var/lib/opencloud/web/assets/apps
  291. TZ: Europe/Amsterdam
  292. UID: '568'
  293. UMASK: '002'
  294. UMASK_SET: '002'
  295. USER_ID: '568'
  296. group_add:
  297. - 568
  298. healthcheck:
  299. disable: True
  300. image: >-
  301. opencloudeu/web-extensions:cast-1.0.0@sha256:843a227afba5362d90c7314d98fa5693291552316a90be03ec67e1ccad5108f5
  302. network_mode: none
  303. platform: linux/amd64
  304. privileged: False
  305. restart: on-failure:1
  306. security_opt:
  307. - no-new-privileges=true
  308. stdin_open: False
  309. tty: False
  310. user: '0:0'
  311. volumes:
  312. - bind:
  313. create_host_path: False
  314. propagation: rprivate
  315. read_only: False
  316. source: /mnt/.ix-apps/app_mounts/opencloud/data
  317. target: /var/lib/opencloud
  318. type: bind
  319. draw-io:
  320. cap_add:
  321. - CHOWN
  322. - DAC_OVERRIDE
  323. - FOWNER
  324. cap_drop:
  325. - ALL
  326. configs:
  327. - mode: 493
  328. source: app_entrypoint
  329. target: /ix-entrypoint.sh
  330. depends_on:
  331. permissions:
  332. condition: service_completed_successfully
  333. deploy:
  334. resources:
  335. limits:
  336. cpus: '1'
  337. memory: 512M
  338. entrypoint:
  339. - /ix-entrypoint.sh
  340. environment:
  341. APP_ID: draw-io
  342. ENABLED: 'true'
  343. GID: '568'
  344. GROUP_ID: '568'
  345. NVIDIA_VISIBLE_DEVICES: void
  346. PGID: '568'
  347. PUID: '568'
  348. SOURCE_PATH: /usr/share/nginx/html/apps/draw-io
  349. TARGET_PATH: /var/lib/opencloud/web/assets/apps
  350. TZ: Europe/Amsterdam
  351. UID: '568'
  352. UMASK: '002'
  353. UMASK_SET: '002'
  354. USER_ID: '568'
  355. group_add:
  356. - 568
  357. healthcheck:
  358. disable: True
  359. image: >-
  360. opencloudeu/web-extensions:draw-io-2.2.0@sha256:d890d6e1bea09cdb7f9f31e7e4ea3c22d00d48fed71202be435571fcefd99878
  361. network_mode: none
  362. platform: linux/amd64
  363. privileged: False
  364. restart: on-failure:1
  365. security_opt:
  366. - no-new-privileges=true
  367. stdin_open: False
  368. tty: False
  369. user: '0:0'
  370. volumes:
  371. - bind:
  372. create_host_path: False
  373. propagation: rprivate
  374. read_only: False
  375. source: /mnt/.ix-apps/app_mounts/opencloud/data
  376. target: /var/lib/opencloud
  377. type: bind
  378. external-sites:
  379. cap_add:
  380. - CHOWN
  381. - DAC_OVERRIDE
  382. - FOWNER
  383. cap_drop:
  384. - ALL
  385. configs:
  386. - mode: 493
  387. source: app_entrypoint
  388. target: /ix-entrypoint.sh
  389. depends_on:
  390. permissions:
  391. condition: service_completed_successfully
  392. deploy:
  393. resources:
  394. limits:
  395. cpus: '1'
  396. memory: 512M
  397. entrypoint:
  398. - /ix-entrypoint.sh
  399. environment:
  400. APP_ID: external-sites
  401. ENABLED: 'true'
  402. GID: '568'
  403. GROUP_ID: '568'
  404. NVIDIA_VISIBLE_DEVICES: void
  405. PGID: '568'
  406. PUID: '568'
  407. SOURCE_PATH: /usr/share/nginx/html/apps/external-sites
  408. TARGET_PATH: /var/lib/opencloud/web/assets/apps
  409. TZ: Europe/Amsterdam
  410. UID: '568'
  411. UMASK: '002'
  412. UMASK_SET: '002'
  413. USER_ID: '568'
  414. group_add:
  415. - 568
  416. healthcheck:
  417. disable: True
  418. image: >-
  419. opencloudeu/web-extensions:external-sites-2.1.0@sha256:c0a48cd3c26f63c11d80b4138da26aa86baf05ec35d0e897ffc479ad24b99a01
  420. network_mode: none
  421. platform: linux/amd64
  422. privileged: False
  423. restart: on-failure:1
  424. security_opt:
  425. - no-new-privileges=true
  426. stdin_open: False
  427. tty: False
  428. user: '0:0'
  429. volumes:
  430. - bind:
  431. create_host_path: False
  432. propagation: rprivate
  433. read_only: False
  434. source: /mnt/.ix-apps/app_mounts/opencloud/data
  435. target: /var/lib/opencloud
  436. type: bind
  437. importer:
  438. cap_add:
  439. - CHOWN
  440. - DAC_OVERRIDE
  441. - FOWNER
  442. cap_drop:
  443. - ALL
  444. configs:
  445. - mode: 493
  446. source: app_entrypoint
  447. target: /ix-entrypoint.sh
  448. depends_on:
  449. permissions:
  450. condition: service_completed_successfully
  451. deploy:
  452. resources:
  453. limits:
  454. cpus: '1'
  455. memory: 512M
  456. entrypoint:
  457. - /ix-entrypoint.sh
  458. environment:
  459. APP_ID: importer
  460. ENABLED: 'true'
  461. GID: '568'
  462. GROUP_ID: '568'
  463. NVIDIA_VISIBLE_DEVICES: void
  464. PGID: '568'
  465. PUID: '568'
  466. SOURCE_PATH: /usr/share/nginx/html/importer
  467. TARGET_PATH: /var/lib/opencloud/web/assets/apps
  468. TZ: Europe/Amsterdam
  469. UID: '568'
  470. UMASK: '002'
  471. UMASK_SET: '002'
  472. USER_ID: '568'
  473. group_add:
  474. - 568
  475. healthcheck:
  476. disable: True
  477. image: >-
  478. opencloudeu/web-extensions:importer-1.0.0@sha256:6e8b2df6c5a44b7e446f0f518a35d851705022ef0b0e92910a86e0319d7d0666
  479. network_mode: none
  480. platform: linux/amd64
  481. privileged: False
  482. restart: on-failure:1
  483. security_opt:
  484. - no-new-privileges=true
  485. stdin_open: False
  486. tty: False
  487. user: '0:0'
  488. volumes:
  489. - bind:
  490. create_host_path: False
  491. propagation: rprivate
  492. read_only: False
  493. source: /mnt/.ix-apps/app_mounts/opencloud/data
  494. target: /var/lib/opencloud
  495. type: bind
  496. json-viewer:
  497. cap_add:
  498. - CHOWN
  499. - DAC_OVERRIDE
  500. - FOWNER
  501. cap_drop:
  502. - ALL
  503. configs:
  504. - mode: 493
  505. source: app_entrypoint
  506. target: /ix-entrypoint.sh
  507. depends_on:
  508. permissions:
  509. condition: service_completed_successfully
  510. deploy:
  511. resources:
  512. limits:
  513. cpus: '1'
  514. memory: 512M
  515. entrypoint:
  516. - /ix-entrypoint.sh
  517. environment:
  518. APP_ID: json-viewer
  519. ENABLED: 'true'
  520. GID: '568'
  521. GROUP_ID: '568'
  522. NVIDIA_VISIBLE_DEVICES: void
  523. PGID: '568'
  524. PUID: '568'
  525. SOURCE_PATH: /usr/share/nginx/html/apps/json-viewer
  526. TARGET_PATH: /var/lib/opencloud/web/assets/apps
  527. TZ: Europe/Amsterdam
  528. UID: '568'
  529. UMASK: '002'
  530. UMASK_SET: '002'
  531. USER_ID: '568'
  532. group_add:
  533. - 568
  534. healthcheck:
  535. disable: True
  536. image: >-
  537. opencloudeu/web-extensions:json-viewer-2.1.0@sha256:fe43f1bb92d62c283ea6ed4a8b8d069f8ff4cfcaa75acbdec08fd9c256705df4
  538. network_mode: none
  539. platform: linux/amd64
  540. privileged: False
  541. restart: on-failure:1
  542. security_opt:
  543. - no-new-privileges=true
  544. stdin_open: False
  545. tty: False
  546. user: '0:0'
  547. volumes:
  548. - bind:
  549. create_host_path: False
  550. propagation: rprivate
  551. read_only: False
  552. source: /mnt/.ix-apps/app_mounts/opencloud/data
  553. target: /var/lib/opencloud
  554. type: bind
  555. maps:
  556. cap_add:
  557. - CHOWN
  558. - DAC_OVERRIDE
  559. - FOWNER
  560. cap_drop:
  561. - ALL
  562. configs:
  563. - mode: 493
  564. source: app_entrypoint
  565. target: /ix-entrypoint.sh
  566. depends_on:
  567. permissions:
  568. condition: service_completed_successfully
  569. deploy:
  570. resources:
  571. limits:
  572. cpus: '1'
  573. memory: 512M
  574. entrypoint:
  575. - /ix-entrypoint.sh
  576. environment:
  577. APP_ID: maps
  578. ENABLED: 'true'
  579. GID: '568'
  580. GROUP_ID: '568'
  581. NVIDIA_VISIBLE_DEVICES: void
  582. PGID: '568'
  583. PUID: '568'
  584. SOURCE_PATH: /usr/share/nginx/html/apps/maps
  585. TARGET_PATH: /var/lib/opencloud/web/assets/apps
  586. TZ: Europe/Amsterdam
  587. UID: '568'
  588. UMASK: '002'
  589. UMASK_SET: '002'
  590. USER_ID: '568'
  591. group_add:
  592. - 568
  593. healthcheck:
  594. disable: True
  595. image: >-
  596. opencloudeu/web-extensions:maps-3.1.1@sha256:b7044f892ea82d997a6b66216259cde452a2145b060a4f8696a879a7048f16c2
  597. network_mode: none
  598. platform: linux/amd64
  599. privileged: False
  600. restart: on-failure:1
  601. security_opt:
  602. - no-new-privileges=true
  603. stdin_open: False
  604. tty: False
  605. user: '0:0'
  606. volumes:
  607. - bind:
  608. create_host_path: False
  609. propagation: rprivate
  610. read_only: False
  611. source: /mnt/.ix-apps/app_mounts/opencloud/data
  612. target: /var/lib/opencloud
  613. type: bind
  614. opencloud:
  615. cap_drop:
  616. - ALL
  617. configs:
  618. - source: csp
  619. target: /etc/opencloud/csp.yaml
  620. - mode: 493
  621. source: entrypoint
  622. target: /ix-entrypoint.sh
  623. - source: opencloud_proxy
  624. target: /etc/opencloud/proxy.yaml
  625. depends_on:
  626. arcade:
  627. condition: service_completed_successfully
  628. calculator:
  629. condition: service_completed_successfully
  630. cast:
  631. condition: service_completed_successfully
  632. draw-io:
  633. condition: service_completed_successfully
  634. external-sites:
  635. condition: service_completed_successfully
  636. importer:
  637. condition: service_completed_successfully
  638. json-viewer:
  639. condition: service_completed_successfully
  640. maps:
  641. condition: service_completed_successfully
  642. pastebin:
  643. condition: service_completed_successfully
  644. permissions:
  645. condition: service_completed_successfully
  646. progress-bars:
  647. condition: service_completed_successfully
  648. radicale:
  649. condition: service_healthy
  650. tika:
  651. condition: service_healthy
  652. unzip:
  653. condition: service_completed_successfully
  654. deploy:
  655. resources:
  656. limits:
  657. cpus: '2'
  658. memory: 4096M
  659. entrypoint:
  660. - /ix-entrypoint.sh
  661. environment:
  662. COLLABORATION_APP_ADDR: https://collabora.domain.eu
  663. COLLABORATION_APP_ICON: https://collabora.domain.eu/favicon.ico
  664. COLLABORATION_APP_INSECURE: 'false'
  665. COLLABORATION_APP_NAME: CollaboraOnline
  666. COLLABORATION_APP_PRODUCT: Collabora
  667. COLLABORATION_APP_PROOF_DISABLE: 'true'
  668. COLLABORATION_CS3API_DATAGATEWAY_INSECURE: 'false'
  669. COLLABORATION_STORE: nats-js-kv
  670. COLLABORATION_WOPI_SRC: https://cloud.domain.eu
  671. FRONTEND_APP_HANDLER_SECURE_VIEW_APP_ADDR: eu.opencloud.api.collaboration
  672. FRONTEND_FULL_TEXT_SEARCH_ENABLED: 'true'
  673. GID: '568'
  674. GROUP_ID: '568'
  675. IDM_ADMIN_PASSWORD: ######
  676. NOTIFICATIONS_SMTP_SENDER: OpenCloud notifications <[email protected]>
  677. NVIDIA_VISIBLE_DEVICES: void
  678. OC_ADD_RUN_SERVICES: notifications,collaboration
  679. OC_BASE_DATA_PATH: /var/lib/opencloud
  680. OC_CONFIG_DIR: /etc/opencloud
  681. OC_INSECURE: 'false'
  682. OC_JWT_SECRET: EmVuznsadasdsadasdafafafUnfsfPdgR
  683. OC_URL: https://cloud.domain.eu
  684. PGID: '568'
  685. PROXY_CSP_CONFIG_FILE_LOCATION: /etc/opencloud/csp.yaml
  686. PROXY_HTTP_ADDR: ':30259'
  687. PUID: '568'
  688. SEARCH_EXTRACTOR_TIKA_TIKA_URL: http://tika:9998
  689. SEARCH_EXTRACTOR_TYPE: tika
  690. STORAGE_USERS_DRIVER: posix
  691. STORAGE_USERS_ID_CACHE_STORE: nats-js-kv
  692. TZ: Europe/Amsterdam
  693. UID: '568'
  694. UMASK: '002'
  695. UMASK_SET: '002'
  696. USER_ID: '568'
  697. group_add:
  698. - 568
  699. healthcheck:
  700. interval: 30s
  701. retries: 5
  702. start_interval: 2s
  703. start_period: 15s
  704. test:
  705. - CMD
  706. - curl
  707. - '--request'
  708. - GET
  709. - '--silent'
  710. - '--output'
  711. - /dev/null
  712. - '--show-error'
  713. - '--fail'
  714. - '--insecure'
  715. - https://127.0.0.1:30259/healthz
  716. timeout: 5s
  717. image: >-
  718. opencloudeu/opencloud-rolling:8.0.1@sha256:1e78144071ab3fc20d2533dd4c5709d24b7e1669c96439fdf7c73cb2808a5d5e
  719. networks:
  720. ix-internal-opencloud-opencloud-net: {}
  721. platform: linux/amd64
  722. ports:
  723. - host_ip: 0.0.0.0
  724. mode: ingress
  725. protocol: tcp
  726. published: 30259
  727. target: 30259
  728. privileged: False
  729. restart: unless-stopped
  730. security_opt:
  731. - no-new-privileges=true
  732. stdin_open: False
  733. tty: False
  734. user: '568:568'
  735. volumes:
  736. - bind:
  737. create_host_path: False
  738. propagation: rprivate
  739. read_only: False
  740. source: /mnt/.ix-apps/app_mounts/opencloud/config
  741. target: /etc/opencloud
  742. type: bind
  743. - bind:
  744. create_host_path: False
  745. propagation: rprivate
  746. read_only: False
  747. source: /mnt/.ix-apps/app_mounts/opencloud/data
  748. target: /var/lib/opencloud
  749. type: bind
  750. pastebin:
  751. cap_add:
  752. - CHOWN
  753. - DAC_OVERRIDE
  754. - FOWNER
  755. cap_drop:
  756. - ALL
  757. configs:
  758. - mode: 493
  759. source: app_entrypoint
  760. target: /ix-entrypoint.sh
  761. depends_on:
  762. permissions:
  763. condition: service_completed_successfully
  764. deploy:
  765. resources:
  766. limits:
  767. cpus: '1'
  768. memory: 512M
  769. entrypoint:
  770. - /ix-entrypoint.sh
  771. environment:
  772. APP_ID: pastebin
  773. ENABLED: 'true'
  774. GID: '568'
  775. GROUP_ID: '568'
  776. NVIDIA_VISIBLE_DEVICES: void
  777. PGID: '568'
  778. PUID: '568'
  779. SOURCE_PATH: /usr/share/nginx/html/apps/pastebin
  780. TARGET_PATH: /var/lib/opencloud/web/assets/apps
  781. TZ: Europe/Amsterdam
  782. UID: '568'
  783. UMASK: '002'
  784. UMASK_SET: '002'
  785. USER_ID: '568'
  786. group_add:
  787. - 568
  788. healthcheck:
  789. disable: True
  790. image: >-
  791. opencloudeu/web-extensions:pastebin-2.1.0@sha256:e7d5686be8d581f48b3b4c0c3f468bec10dbaadeb935a00ac23a3644456455f0
  792. network_mode: none
  793. platform: linux/amd64
  794. privileged: False
  795. restart: on-failure:1
  796. security_opt:
  797. - no-new-privileges=true
  798. stdin_open: False
  799. tty: False
  800. user: '0:0'
  801. volumes:
  802. - bind:
  803. create_host_path: False
  804. propagation: rprivate
  805. read_only: False
  806. source: /mnt/.ix-apps/app_mounts/opencloud/data
  807. target: /var/lib/opencloud
  808. type: bind
  809. permissions:
  810. cap_add:
  811. - CHOWN
  812. - DAC_OVERRIDE
  813. - FOWNER
  814. cap_drop:
  815. - ALL
  816. configs:
  817. - mode: 320
  818. source: permissions_actions_data
  819. target: /script/actions.json
  820. deploy:
  821. resources:
  822. limits:
  823. cpus: '2'
  824. memory: 1024M
  825. entrypoint:
  826. - python3
  827. - /script/permissions.py
  828. environment:
  829. GID: '568'
  830. GROUP_ID: '568'
  831. NVIDIA_VISIBLE_DEVICES: void
  832. PGID: '568'
  833. PUID: '568'
  834. TZ: Europe/Amsterdam
  835. UID: '568'
  836. UMASK: '002'
  837. UMASK_SET: '002'
  838. USER_ID: '568'
  839. group_add:
  840. - 568
  841. healthcheck:
  842. disable: True
  843. image: >-
  844. ixsystems/container-utils:1.0.2@sha256:46eba20714c1cc6784f60e245c32c33a2d9f616e47d804694a9854248c89a992
  845. network_mode: none
  846. platform: linux/amd64
  847. privileged: False
  848. restart: on-failure:1
  849. security_opt:
  850. - no-new-privileges=true
  851. stdin_open: False
  852. tty: False
  853. user: '0:0'
  854. volumes:
  855. - bind:
  856. create_host_path: False
  857. propagation: rprivate
  858. read_only: False
  859. source: /mnt/.ix-apps/app_mounts/opencloud/config
  860. target: /mnt/permission/config
  861. type: bind
  862. - bind:
  863. create_host_path: False
  864. propagation: rprivate
  865. read_only: False
  866. source: /mnt/.ix-apps/app_mounts/opencloud/data
  867. target: /mnt/permission/data
  868. type: bind
  869. - bind:
  870. create_host_path: False
  871. propagation: rprivate
  872. read_only: False
  873. source: /mnt/.ix-apps/app_mounts/opencloud/radicale_data
  874. target: /mnt/permission/radicale_data
  875. type: bind
  876. progress-bars:
  877. cap_add:
  878. - CHOWN
  879. - DAC_OVERRIDE
  880. - FOWNER
  881. cap_drop:
  882. - ALL
  883. configs:
  884. - mode: 493
  885. source: app_entrypoint
  886. target: /ix-entrypoint.sh
  887. depends_on:
  888. permissions:
  889. condition: service_completed_successfully
  890. deploy:
  891. resources:
  892. limits:
  893. cpus: '1'
  894. memory: 512M
  895. entrypoint:
  896. - /ix-entrypoint.sh
  897. environment:
  898. APP_ID: progress-bars
  899. ENABLED: 'true'
  900. GID: '568'
  901. GROUP_ID: '568'
  902. NVIDIA_VISIBLE_DEVICES: void
  903. PGID: '568'
  904. PUID: '568'
  905. SOURCE_PATH: /usr/share/nginx/html/apps/progress-bars
  906. TARGET_PATH: /var/lib/opencloud/web/assets/apps
  907. TZ: Europe/Amsterdam
  908. UID: '568'
  909. UMASK: '002'
  910. UMASK_SET: '002'
  911. USER_ID: '568'
  912. group_add:
  913. - 568
  914. healthcheck:
  915. disable: True
  916. image: >-
  917. opencloudeu/web-extensions:progress-bars-2.1.0@sha256:53933b5dbbae03b75e9cc78d775b8b8fd1d6bc651b73dfffcd66df120ef1c951
  918. network_mode: none
  919. platform: linux/amd64
  920. privileged: False
  921. restart: on-failure:1
  922. security_opt:
  923. - no-new-privileges=true
  924. stdin_open: False
  925. tty: False
  926. user: '0:0'
  927. volumes:
  928. - bind:
  929. create_host_path: False
  930. propagation: rprivate
  931. read_only: False
  932. source: /mnt/.ix-apps/app_mounts/opencloud/data
  933. target: /var/lib/opencloud
  934. type: bind
  935. radicale:
  936. cap_drop:
  937. - ALL
  938. configs:
  939. - source: radicale_config
  940. target: /etc/radicale/config
  941. depends_on:
  942. permissions:
  943. condition: service_completed_successfully
  944. deploy:
  945. resources:
  946. limits:
  947. cpus: '2'
  948. memory: 4096M
  949. environment:
  950. GID: '568'
  951. GROUP_ID: '568'
  952. NVIDIA_VISIBLE_DEVICES: void
  953. PGID: '568'
  954. PUID: '568'
  955. TZ: Europe/Amsterdam
  956. UID: '568'
  957. UMASK: '002'
  958. UMASK_SET: '002'
  959. USER_ID: '568'
  960. group_add:
  961. - 568
  962. healthcheck:
  963. interval: 30s
  964. retries: 5
  965. start_interval: 2s
  966. start_period: 15s
  967. test:
  968. - CMD
  969. - wget
  970. - '--quiet'
  971. - '--spider'
  972. - http://127.0.0.1:5232/
  973. timeout: 5s
  974. image: >-
  975. opencloudeu/radicale:v3.8.1@sha256:28c2c44cbf241755a5cfb80eea0521ef280993da20537e2d6980dae1254e552d
  976. networks:
  977. ix-internal-opencloud-opencloud-net: {}
  978. platform: linux/amd64
  979. privileged: False
  980. restart: unless-stopped
  981. security_opt:
  982. - no-new-privileges=true
  983. stdin_open: False
  984. tty: False
  985. user: '568:568'
  986. volumes:
  987. - bind:
  988. create_host_path: False
  989. propagation: rprivate
  990. read_only: False
  991. source: /mnt/.ix-apps/app_mounts/opencloud/radicale_data
  992. target: /var/lib/radicale
  993. type: bind
  994. tika:
  995. cap_drop:
  996. - ALL
  997. command:
  998. - '--port'
  999. - '9998'
  1000. deploy:
  1001. resources:
  1002. limits:
  1003. cpus: '2'
  1004. memory: 4096M
  1005. environment:
  1006. GID: '568'
  1007. GROUP_ID: '568'
  1008. NVIDIA_VISIBLE_DEVICES: void
  1009. PGID: '568'
  1010. PUID: '568'
  1011. TZ: Europe/Amsterdam
  1012. UID: '568'
  1013. UMASK: '002'
  1014. UMASK_SET: '002'
  1015. USER_ID: '568'
  1016. group_add:
  1017. - 568
  1018. healthcheck:
  1019. interval: 30s
  1020. retries: 5
  1021. start_interval: 2s
  1022. start_period: 15s
  1023. test:
  1024. - CMD
  1025. - wget
  1026. - '--quiet'
  1027. - '-O'
  1028. - /dev/null
  1029. - http://127.0.0.1:9998/tika
  1030. timeout: 5s
  1031. image: >-
  1032. apache/tika:3.3.1.0-full@sha256:d8e6ed96260ad89307a93195a1b856102987a818ac648502f8efbaf313d32470
  1033. networks:
  1034. ix-internal-opencloud-opencloud-net: {}
  1035. platform: linux/amd64
  1036. privileged: False
  1037. restart: unless-stopped
  1038. security_opt:
  1039. - no-new-privileges=true
  1040. stdin_open: False
  1041. stop_grace_period: 60s
  1042. tty: False
  1043. user: '568:568'
  1044. unzip:
  1045. cap_add:
  1046. - CHOWN
  1047. - DAC_OVERRIDE
  1048. - FOWNER
  1049. cap_drop:
  1050. - ALL
  1051. configs:
  1052. - mode: 493
  1053. source: app_entrypoint
  1054. target: /ix-entrypoint.sh
  1055. depends_on:
  1056. permissions:
  1057. condition: service_completed_successfully
  1058. deploy:
  1059. resources:
  1060. limits:
  1061. cpus: '1'
  1062. memory: 512M
  1063. entrypoint:
  1064. - /ix-entrypoint.sh
  1065. environment:
  1066. APP_ID: unzip
  1067. ENABLED: 'true'
  1068. GID: '568'
  1069. GROUP_ID: '568'
  1070. NVIDIA_VISIBLE_DEVICES: void
  1071. PGID: '568'
  1072. PUID: '568'
  1073. SOURCE_PATH: /usr/share/nginx/html/apps/unzip
  1074. TARGET_PATH: /var/lib/opencloud/web/assets/apps
  1075. TZ: Europe/Amsterdam
  1076. UID: '568'
  1077. UMASK: '002'
  1078. UMASK_SET: '002'
  1079. USER_ID: '568'
  1080. group_add:
  1081. - 568
  1082. healthcheck:
  1083. disable: True
  1084. image: >-
  1085. opencloudeu/web-extensions:unzip-2.2.0@sha256:9dda5058dcd7f036342a80583a19b6a5d7af1d42cc1c4a678f38d5d8c3e30cb4
  1086. network_mode: none
  1087. platform: linux/amd64
  1088. privileged: False
  1089. restart: on-failure:1
  1090. security_opt:
  1091. - no-new-privileges=true
  1092. stdin_open: False
  1093. tty: False
  1094. user: '0:0'
  1095. volumes:
  1096. - bind:
  1097. create_host_path: False
  1098. propagation: rprivate
  1099. read_only: False
  1100. source: /mnt/.ix-apps/app_mounts/opencloud/data
  1101. target: /var/lib/opencloud
  1102. type: bind
  1103. volumes: {}
  1104. x-action-required: False
  1105. x-notes: >
  1106. # OpenCloud
  1107.  
  1108.  
  1109. ## Info
  1110.  
  1111.  
  1112. - The app 'external_sites' requires additional configuration. Please see
  1113. https://github.com/opencloud-eu/web-extensions/tree/main/packages/web-app-external-sites
  1114. for details.
  1115.  
  1116. - The app 'importer' requires additional configuration. Please see
  1117. https://github.com/opencloud-eu/web-extensions/tree/main/packages/web-app-importer
  1118. for details.
  1119.  
  1120. - The app 'maps' requires additional configuration. Please see
  1121. https://github.com/opencloud-eu/web-extensions/tree/main/packages/web-app-maps
  1122. for details.
  1123.  
  1124.  
  1125. ## Security
  1126.  
  1127.  
  1128. **Read the following security precautions to ensure that you wish to continue
  1129. using this application.**
  1130.  
  1131.  
  1132. ---
  1133.  
  1134.  
  1135. ### Container: [opencloud]
  1136.  
  1137.  
  1138. #### Joined networks
  1139.  
  1140.  
  1141. - ix-internal-opencloud-opencloud-net
  1142.  
  1143.  
  1144. #### Running user/group(s)
  1145.  
  1146.  
  1147. - User: 568
  1148.  
  1149. - Group: 568
  1150.  
  1151. - Supplementary Groups: apps
  1152.  
  1153.  
  1154. ---
  1155.  
  1156.  
  1157. ### Container: [radicale]
  1158.  
  1159.  
  1160. #### Joined networks
  1161.  
  1162.  
  1163. - ix-internal-opencloud-opencloud-net
  1164.  
  1165.  
  1166. #### Running user/group(s)
  1167.  
  1168.  
  1169. - User: 568
  1170.  
  1171. - Group: 568
  1172.  
  1173. - Supplementary Groups: apps
  1174.  
  1175.  
  1176. ---
  1177.  
  1178.  
  1179. ### Container: [tika]
  1180.  
  1181.  
  1182. #### Joined networks
  1183.  
  1184.  
  1185. - ix-internal-opencloud-opencloud-net
  1186.  
  1187.  
  1188. #### Running user/group(s)
  1189.  
  1190.  
  1191. - User: 568
  1192.  
  1193. - Group: 568
  1194.  
  1195. - Supplementary Groups: apps
  1196.  
  1197.  
  1198. ---
  1199.  
  1200.  
  1201. ### Container: [arcade]
  1202.  
  1203.  
  1204. **This container is short-lived.**
  1205.  
  1206.  
  1207. #### Running user/group(s)
  1208.  
  1209.  
  1210. - User: root
  1211.  
  1212. - Group: root
  1213.  
  1214. - Supplementary Groups: apps
  1215.  
  1216.  
  1217. ---
  1218.  
  1219.  
  1220. ### Container: [calculator]
  1221.  
  1222.  
  1223. **This container is short-lived.**
  1224.  
  1225.  
  1226. #### Running user/group(s)
  1227.  
  1228.  
  1229. - User: root
  1230.  
  1231. - Group: root
  1232.  
  1233. - Supplementary Groups: apps
  1234.  
  1235.  
  1236. ---
  1237.  
  1238.  
  1239. ### Container: [cast]
  1240.  
  1241.  
  1242. **This container is short-lived.**
  1243.  
  1244.  
  1245. #### Running user/group(s)
  1246.  
  1247.  
  1248. - User: root
  1249.  
  1250. - Group: root
  1251.  
  1252. - Supplementary Groups: apps
  1253.  
  1254.  
  1255. ---
  1256.  
  1257.  
  1258. ### Container: [draw-io]
  1259.  
  1260.  
  1261. **This container is short-lived.**
  1262.  
  1263.  
  1264. #### Running user/group(s)
  1265.  
  1266.  
  1267. - User: root
  1268.  
  1269. - Group: root
  1270.  
  1271. - Supplementary Groups: apps
  1272.  
  1273.  
  1274. ---
  1275.  
  1276.  
  1277. ### Container: [external-sites]
  1278.  
  1279.  
  1280. **This container is short-lived.**
  1281.  
  1282.  
  1283. #### Running user/group(s)
  1284.  
  1285.  
  1286. - User: root
  1287.  
  1288. - Group: root
  1289.  
  1290. - Supplementary Groups: apps
  1291.  
  1292.  
  1293. ---
  1294.  
  1295.  
  1296. ### Container: [importer]
  1297.  
  1298.  
  1299. **This container is short-lived.**
  1300.  
  1301.  
  1302. #### Running user/group(s)
  1303.  
  1304.  
  1305. - User: root
  1306.  
  1307. - Group: root
  1308.  
  1309. - Supplementary Groups: apps
  1310.  
  1311.  
  1312. ---
  1313.  
  1314.  
  1315. ### Container: [json-viewer]
  1316.  
  1317.  
  1318. **This container is short-lived.**
  1319.  
  1320.  
  1321. #### Running user/group(s)
  1322.  
  1323.  
  1324. - User: root
  1325.  
  1326. - Group: root
  1327.  
  1328. - Supplementary Groups: apps
  1329.  
  1330.  
  1331. ---
  1332.  
  1333.  
  1334. ### Container: [maps]
  1335.  
  1336.  
  1337. **This container is short-lived.**
  1338.  
  1339.  
  1340. #### Running user/group(s)
  1341.  
  1342.  
  1343. - User: root
  1344.  
  1345. - Group: root
  1346.  
  1347. - Supplementary Groups: apps
  1348.  
  1349.  
  1350. ---
  1351.  
  1352.  
  1353. ### Container: [pastebin]
  1354.  
  1355.  
  1356. **This container is short-lived.**
  1357.  
  1358.  
  1359. #### Running user/group(s)
  1360.  
  1361.  
  1362. - User: root
  1363.  
  1364. - Group: root
  1365.  
  1366. - Supplementary Groups: apps
  1367.  
  1368.  
  1369. ---
  1370.  
  1371.  
  1372. ### Container: [permissions]
  1373.  
  1374.  
  1375. **This container is short-lived.**
  1376.  
  1377.  
  1378. #### Running user/group(s)
  1379.  
  1380.  
  1381. - User: root
  1382.  
  1383. - Group: root
  1384.  
  1385. - Supplementary Groups: apps
  1386.  
  1387.  
  1388. ---
  1389.  
  1390.  
  1391. ### Container: [progress-bars]
  1392.  
  1393.  
  1394. **This container is short-lived.**
  1395.  
  1396.  
  1397. #### Running user/group(s)
  1398.  
  1399.  
  1400. - User: root
  1401.  
  1402. - Group: root
  1403.  
  1404. - Supplementary Groups: apps
  1405.  
  1406.  
  1407. ---
  1408.  
  1409.  
  1410. ### Container: [unzip]
  1411.  
  1412.  
  1413. **This container is short-lived.**
  1414.  
  1415.  
  1416. #### Running user/group(s)
  1417.  
  1418.  
  1419. - User: root
  1420.  
  1421. - Group: root
  1422.  
  1423. - Supplementary Groups: apps
  1424.  
  1425.  
  1426. ---
  1427.  
  1428.  
  1429. Default Credential:
  1430. - Username: `####`
  1431. - Password: `####`
  1432.  
  1433.  
  1434. You have installed an app that needs additional configuration, please see</br>
  1435.  
  1436. the following link on how to convert the config.json config into
  1437. /etc/opencloud/apps.yaml</br>
  1438.  
  1439. https://docs.opencloud.eu/docs/dev/server/services/web/information#application-configuration
  1440.  
  1441.  
  1442.  
  1443. Proxy Configuration:
  1444.  
  1445.  
  1446. ```yaml
  1447.  
  1448. additional_policies:
  1449.  
  1450. - name: default
  1451. routes:
  1452. - additional_headers:
  1453. - X-Script-Name: /caldav
  1454. backend: http://radicale:5232
  1455. endpoint: /caldav/
  1456. remote_user_header: X-Remote-User
  1457. skip_x_access_token: true
  1458. - additional_headers:
  1459. - X-Script-Name: /caldav
  1460. backend: http://radicale:5232
  1461. endpoint: /.well-known/caldav
  1462. remote_user_header: X-Remote-User
  1463. skip_x_access_token: true
  1464. - additional_headers:
  1465. - X-Script-Name: /carddav
  1466. backend: http://radicale:5232
  1467. endpoint: /carddav/
  1468. remote_user_header: X-Remote-User
  1469. skip_x_access_token: true
  1470. - additional_headers:
  1471. - X-Script-Name: /carddav
  1472. backend: http://radicale:5232
  1473. endpoint: /.well-known/carddav
  1474. remote_user_header: X-Remote-User
  1475. skip_x_access_token: true
  1476. ```
  1477.  
  1478.  
  1479. CSP Rules that are added on top of the OpenCloud Defaults:
  1480.  
  1481.  
  1482. ```yaml
  1483.  
  1484. directives:
  1485. frame-src:
  1486. - https://collabora.doimain.eu/
  1487. img-src:
  1488. - https://collabora.domain.eu/
  1489. ```
  1490.  
  1491.  
  1492. ## Bug Reports and Feature Requests
  1493.  
  1494.  
  1495. If you find a bug in this app or have an idea for a new feature, please file
  1496. an issue at
  1497.  
  1498. https://github.com/truenas/apps
  1499. x-portals:
  1500. - host: 0.0.0.0
  1501. name: Web UI
  1502. path: /
  1503. port: 30259
  1504. scheme: https
  1505.  
Advertisement
Add Comment
Please, Sign In to add comment