app-store/apps/flatnotes/docker-compose.yml

47 lines
2.0 KiB
YAML
Raw Normal View History

2023-02-21 18:29:59 +00:00
version: "3"
services:
flatnotes:
container_name: flatnotes
image: dullage/flatnotes:v5.1.0
2023-02-21 18:29:59 +00:00
environment:
FLATNOTES_AUTH_TYPE: ${FLATNOTES_AUTH_TYPE}
FLATNOTES_USERNAME: ${FLATNOTES_USERNAME}
FLATNOTES_PASSWORD: ${FLATNOTES_PASSWORD}
FLATNOTES_SECRET_KEY: ${FLATNOTES_SECRET_KEY}
FLATNOTES_TOTP_KEY: ${FLATNOTES_TOTP_KEY}
volumes:
- "${APP_DATA_DIR}/data:/data"
2023-02-21 18:29:59 +00:00
# - "./index:/app/data/.flatnotes"
local domain configs A-G (#676) * feat(actual-budget): change config to support local domain * feat(adguard): change config to support local domain * feat(autobrr): change config to support local domain * feat(barrage): change config to support local domain * feat(bazarr): change config to support local domain * feat(booksonic): change config to support local domain * feat(bookstack): change config to support local domain * feat(calibre-web): change config to support local domain * feat(chatgpt-ui): change config to support local domain * feat(chatpad): change config to support local domain * feat(code-server): change config to support local domain * feat(codex-docs): change config to support local domain * feat(dailytxt): change config to support local domain * feat(dashdot): change config to support local domain * feat(deemix): change config to support local domain * feat(deluge): change config to support local domain * feat(dokuwiki): change config to support local domain * feat(dozzle): change config to support local domain * feat(duplicati): change config to support local domain * feat(emulatorjs): change config to support local domain * feat(excalidraw): change config to support local domain * feat(filebrowser): change config to support local domain * feat(filestash): change config to support local domain * feat(firefly-iii): change config to support local domain * feat(fireshare): change config to support local domain * feat(flatnotes): change config to support local domain * feat(freshrss): change config to support local domain * feat(ghost): change config to support local domain * feat(gitea): change config to support local domain * feat(gotify): change config to support local domain * feat(gotosocial): change config to support local domain * feat(grafana): change config to support local domain * feat(grav): change config to support local domain * feat(grocy): change config to support local domain
2023-06-10 14:46:05 +00:00
# Optional. Allows you to save the search index in a different location.
2023-02-21 18:29:59 +00:00
ports:
- ${APP_PORT}:8080
2023-02-21 18:29:59 +00:00
restart: unless-stopped
networks:
- tipi_main_network
labels:
local domain configs A-G (#676) * feat(actual-budget): change config to support local domain * feat(adguard): change config to support local domain * feat(autobrr): change config to support local domain * feat(barrage): change config to support local domain * feat(bazarr): change config to support local domain * feat(booksonic): change config to support local domain * feat(bookstack): change config to support local domain * feat(calibre-web): change config to support local domain * feat(chatgpt-ui): change config to support local domain * feat(chatpad): change config to support local domain * feat(code-server): change config to support local domain * feat(codex-docs): change config to support local domain * feat(dailytxt): change config to support local domain * feat(dashdot): change config to support local domain * feat(deemix): change config to support local domain * feat(deluge): change config to support local domain * feat(dokuwiki): change config to support local domain * feat(dozzle): change config to support local domain * feat(duplicati): change config to support local domain * feat(emulatorjs): change config to support local domain * feat(excalidraw): change config to support local domain * feat(filebrowser): change config to support local domain * feat(filestash): change config to support local domain * feat(firefly-iii): change config to support local domain * feat(fireshare): change config to support local domain * feat(flatnotes): change config to support local domain * feat(freshrss): change config to support local domain * feat(ghost): change config to support local domain * feat(gitea): change config to support local domain * feat(gotify): change config to support local domain * feat(gotosocial): change config to support local domain * feat(grafana): change config to support local domain * feat(grav): change config to support local domain * feat(grocy): change config to support local domain
2023-06-10 14:46:05 +00:00
# Main
traefik.enable: true
traefik.http.middlewares.flatnotes-web-redirect.redirectscheme.scheme: https
traefik.http.services.flatnotes.loadbalancer.server.port: 8080
# Web
traefik.http.routers.flatnotes-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.flatnotes-insecure.entrypoints: web
traefik.http.routers.flatnotes-insecure.service: flatnotes
traefik.http.routers.flatnotes-insecure.middlewares: flatnotes-web-redirect
# Websecure
2023-02-21 18:29:59 +00:00
traefik.http.routers.flatnotes.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.flatnotes.entrypoints: websecure
traefik.http.routers.flatnotes.service: flatnotes
traefik.http.routers.flatnotes.tls.certresolver: myresolver
local domain configs A-G (#676) * feat(actual-budget): change config to support local domain * feat(adguard): change config to support local domain * feat(autobrr): change config to support local domain * feat(barrage): change config to support local domain * feat(bazarr): change config to support local domain * feat(booksonic): change config to support local domain * feat(bookstack): change config to support local domain * feat(calibre-web): change config to support local domain * feat(chatgpt-ui): change config to support local domain * feat(chatpad): change config to support local domain * feat(code-server): change config to support local domain * feat(codex-docs): change config to support local domain * feat(dailytxt): change config to support local domain * feat(dashdot): change config to support local domain * feat(deemix): change config to support local domain * feat(deluge): change config to support local domain * feat(dokuwiki): change config to support local domain * feat(dozzle): change config to support local domain * feat(duplicati): change config to support local domain * feat(emulatorjs): change config to support local domain * feat(excalidraw): change config to support local domain * feat(filebrowser): change config to support local domain * feat(filestash): change config to support local domain * feat(firefly-iii): change config to support local domain * feat(fireshare): change config to support local domain * feat(flatnotes): change config to support local domain * feat(freshrss): change config to support local domain * feat(ghost): change config to support local domain * feat(gitea): change config to support local domain * feat(gotify): change config to support local domain * feat(gotosocial): change config to support local domain * feat(grafana): change config to support local domain * feat(grav): change config to support local domain * feat(grocy): change config to support local domain
2023-06-10 14:46:05 +00:00
# Local domain
traefik.http.routers.flatnotes-local-insecure.rule: Host(`flatnotes.${LOCAL_DOMAIN}`)
traefik.http.routers.flatnotes-local-insecure.entrypoints: web
traefik.http.routers.flatnotes-local-insecure.service: flatnotes
traefik.http.routers.flatnotes-local-insecure.middlewares: flatnotes-web-redirect
# Local domain secure
traefik.http.routers.flatnotes-local.rule: Host(`flatnotes.${LOCAL_DOMAIN}`)
traefik.http.routers.flatnotes-local.entrypoints: websecure
traefik.http.routers.flatnotes-local.service: flatnotes
traefik.http.routers.flatnotes-local.tls: true