app-store/apps/flatnotes/docker-compose.yml
renovate[bot] 2ed53d676a
chore(deps): update dullage/flatnotes docker tag to v3.1.0 (#588)
* chore(deps): update dullage/flatnotes docker tag to v3.1.0

* Update app version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2023-05-24 16:30:09 -04:00

28 lines
1007 B
YAML

version: "3"
services:
flatnotes:
container_name: flatnotes
image: dullage/flatnotes:v3.1.0
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"
# - "./index:/app/data/.flatnotes"
# Optional. Allows you to save the search index in a different location.
ports:
- ${APP_PORT}:8080
restart: unless-stopped
networks:
- tipi_main_network
labels:
traefik.enable: ${APP_EXPOSED}
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
traefik.http.services.flatnotes.loadbalancer.server.port: 8080