diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000000000000000000000000000000000000..0046bc6bb05f3c45caeeb9447f9954c252d913ba --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,28 @@ +--- +version: "3.8" +services: + dashy: + # To build from source, replace 'image: lissy93/dashy' with 'build: .' + # build: . + image: lissy93/dashy:2.1.1 + container_name: Dashy + # Pass in your config file below, by specifying the path on your host machine + volumes: + - ./src/conf.yml:/app/public/conf.yml + ports: + - 4000:80 + # Set any environmental variables + environment: + - NODE_ENV=production + # Specify your user ID and group ID. You can find this by running `id -u` and `id -g` + - UID=1000 + - GID=1000 + # Specify restart policy + restart: unless-stopped + # Configure healthchecks + healthcheck: + test: ['CMD', 'node', '/app/services/healthcheck'] + interval: 1m30s + timeout: 10s + retries: 3 + start_period: 40s diff --git a/src/conf.yml b/src/conf.yml new file mode 100644 index 0000000000000000000000000000000000000000..d82f677e5d6331c32ad661c1444b6ac2891d6491 --- /dev/null +++ b/src/conf.yml @@ -0,0 +1,71 @@ +appConfig: + theme: dashy-docs + language: fr + layout: auto + iconSize: medium + startingView: default + defaultOpeningMethod: newtab + statusCheck: false + statusCheckInterval: 0 + faviconApi: allesedv + routingMode: history + enableMultiTasking: false + widgetsAlwaysUseProxy: false + webSearch: + disableWebSearch: false + searchEngine: duckduckgo + openingMethod: newtab + searchBangs: {} + enableFontAwesome: true + enableMaterialDesignIcons: false + hideComponents: + hideHeading: false + hideNav: false + hideSearch: false + hideSettings: true + hideFooter: false + auth: + enableGuestAccess: false + users: [] + enableKeycloak: false + showSplashScreen: false + preventWriteToDisk: false + preventLocalSave: false + disableConfiguration: false + disableConfigurationForNonAdmin: false + allowConfigEdit: true + enableServiceWorker: false + disableContextMenu: false + disableUpdateChecks: false + disableSmartSort: false + enableErrorReporting: false +pageInfo: + title: Un dashboard avec Dashy + description: Tableau de bord des liens + footerText: Mon super footer + navLinks: + - title: Code + path: https://lab.frogg.it/froggit/poc/dashy +sections: + - name: Code + icon: fas fa-code + items: + - title: Froggit + description: Code sur Froggit + icon: fas fa-frog + url: https://lab.frogg.it/ + - title: GitLab + description: Code sur GitLab + icon: fab fa-gitlab + url: https://gitlab.com + - name: Contents + icon: fas fa-clapperboard-play + items: + - title: Acast + description: Publication des podcasts + icon: fas fa-microphone + url: https://open.acast.com + - title: YouTube + description: Publication des vidéos + icon: fab fa-youtube + url: https://studio.youtube.com/