Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with persistence for FMD-Server 0.5.0 #6

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN mkdir /fmd/objectbox \
USER fmd-user

EXPOSE 8080/tcp
VOLUME /data
VOLUME /fmd/objectbox

HEALTHCHECK --interval=1m --timeout=3s \
CMD timeout 2 bash -c 'cat < /dev/null > /dev/tcp/127.0.0.1/8080'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To use *docker-findmydeviceserver*, follow these steps:

1. Clone and start the container:

docker run -p 8080:8080 -v "${PWD}"/data:/data \
docker run -p 8080:8080 -v "${PWD}"/data:/fmd/objectbox \
docker.io/aguslr/findmydeviceserver:latest

2. Register your device with your *FindMyDeviceServer*'s IP address on port
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ services:
context: .
restart: unless-stopped
volumes:
- ./data:/data
- ./data:/fmd/objectbox
ports:
- 8080:8080/tcp
Loading