Comments (5)
See https://github.com/louislam/uptime-kuma/wiki/Environment-Variables#docker-specific-environment-variables
You could use the standard PUID
/PGID
. I have not tested if they work.
v2
will come with full support of running as another user via the -rootless
tags. See #4052 for further context.
See #4171 for what bugfixes still need to happen until a first beta can be issued.
from uptime-kuma.
Hmm, that's strange... The document says that the default PUID and GUID are 1000, but when I set these values:
environment:
- PUID=1000
- PGID=1000
in a docker compose, the Uptime Kuma cannot check the container status. Any idea why?
from uptime-kuma.
cannot check the container status
How have you mounted the docker socket?
What are the permissions of said socket?
Can the chosen PUID
/PGID
access said socket?
from uptime-kuma.
You can find my docker compose below. I have added it as read only, due to the checking doesn't require a write permission.
srw-rw---- 1 root docker 0 Jan 14 12:14 /var/run/docker.sock
The user with PIUD 1000
is part of the docker
group, so it has an access to it.
version: '3.8'
services:
uptime-kuma:
image: louislam/uptime-kuma:alpine
container_name: uptime-kuma
environment:
- PUID=1000
- PGID=1000
volumes:
- /mnt/Docker/uptime-kuma:/app/data
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 3001:3001
restart: always
network_mode: bridge
cpus: 0.5
mem_limit: 400M
from uptime-kuma.
We are clearing up our old help
-issues and your issue has been open for 60 days with no activity.
If no comment is made and the stale label is not removed, this issue will be closed in 7 days.
from uptime-kuma.
Related Issues (20)
- Ntfy notification type - button in notification does nothing HOT 1
- [SERVICES] INFO: Failed to start nscd HOT 3
- Do not send notifications for `UP` notifications HOT 3
- monitor in a group if down is reported double HOT 1
- how to add a delay alert for ping HOT 1
- Uptime-Kuma does not respond HOT 3
- Environment Variable To Change Name HOT 1
- `saveStatusPage` socket handler does not use `icon` specified in payload if not base64-encoded HOT 4
- api integration for displaying which monitors do have maintenance and give informations about it HOT 2
- Notifications for Diffrent Events HOT 1
- Can't set timezone Europe/Kyiv HOT 1
- Display Monitor Groups in Mail Subject HOT 2
- Generate Database without launching the server HOT 4
- Some commits are not present in release HOT 1
- Proxy option to notifications channel HOT 1
- Allow expanding error messages/toasts to show the full request/response HOT 1
- Add version info of app to uptime kuma HOT 1
- Cloudflare sites cause ---Timeout of 48000ms exceeded HOT 5
- Incorect message "getaddrinfo ENOTFOUND" on 4xx sites HOT 5
- Clonfigurable Toast notification timeouts to enabling autoclosing `DOWN` toasts HOT 1
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 uptime-kuma.