Comments (3)
Actually, even with the FLATNOTES_PORT set it still fails the healthcheck. http://ipaddress:port/health says "OK".
docker exec -it flatnotes sh
# curl -f http://localhost:${FLATNOTES_PORT}/health || exit 1
Returns: "OK"
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4cc488aba7c4 dullage/flatnotes:latest "/entrypoint.sh" 6 minutes ago Up 5 minutes (unhealthy) 8080/tcp, 0.0.0.0:9080->9080/tcp, :::9080->9080/tcp flatnotes
name: flatnotes
services:
flatnotes:
container_name: flatnotes
image: dullage/flatnotes:latest
environment:
PUID: 1000
PGID: 1000
FLATNOTES_AUTH_TYPE: password
FLATNOTES_USERNAME: lolusername
FLATNOTES_PASSWORD: hunter2
FLATNOTES_SECRET_KEY: hunter2
FLATNOTES_PORT: 9080
volumes:
- /mnt/docker/flatnotes/data:/data
# Optional. Allows you to save the search index in a different location:
# - "./index:/data/.flatnotes"
ports:
- 9080:9080
restart: unless-stopped
from flatnotes.
A default value for this new variable is set in the image so should be ok (unless you're using Synology where weird things seem to be happening).
This said, I accidentally pushed an image early where the healthcheck.sh file had the wrong line endings. Maybe you have this build? Can you try pulling the image again to see if that fixes it?
from flatnotes.
Confirmed working after re-pull. Thanks so much!
from flatnotes.
Related Issues (20)
- [Feature Request] Attatch Files in Notes HOT 1
- [Feature Request] OCR Software for Pictures and maybe pdf Files
- Images not showing up HOT 1
- [Feature Request] submenu/folders HOT 9
- Searching Bug HOT 2
- Where are all the Notes in the Server File Manager? HOT 4
- Number List issue HOT 1
- Add config option to show "Recently modified" in read-only mode HOT 1
- Multiple Errors HOT 2
- Docker Port revisited HOT 4
- Retain scroll position when switching to edit mode HOT 1
- Install uvloop alongside Uvicorn for performance improvements HOT 4
- Add ability to change port number HOT 2
- [Feature Request] Add cli interface
- /entrypoint.sh: 34: exec: 1000:1000: not found HOT 8
- Keep container in "starting" state HOT 3
- Support for alternate base url HOT 4
- [Feature] Disable TOAST UI Editor usage statistics HOT 2
- suggest used tags in editor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flatnotes.