Skip to content

Commit

Permalink
Add dynamic compose for flatnotes (#6051)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancelot-Enguerrand authored Dec 21, 2024
1 parent 5e496b1 commit cc341b9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/flatnotes/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"name": "flatnotes",
"available": true,
"exposable": true,
"dynamic_config": true,
"id": "flatnotes",
"port": 8137,
"tipi_version": 31,
"tipi_version": 32,
"version": "5.3.2",
"categories": ["utilities"],
"description": "A self-hosted, database-less note taking web app that utilises a flat folder of markdown files for storage.",
Expand Down Expand Up @@ -51,5 +52,5 @@
],
"supported_architectures": ["arm64", "amd64"],
"created_at": 1691943801422,
"updated_at": 1733856109000
"updated_at": 1734113808714
}
23 changes: 23 additions & 0 deletions apps/flatnotes/docker-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"services": [
{
"name": "flatnotes",
"image": "dullage/flatnotes:v5.3.2",
"isMain": true,
"internalPort": 8080,
"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": [
{
"hostPath": "${APP_DATA_DIR}/data",
"containerPath": "/data"
}
]
}
]
}

0 comments on commit cc341b9

Please sign in to comment.