-
Notifications
You must be signed in to change notification settings - Fork 17
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
error: one or more required arguments were not provided #96
Comments
The issue stems from the Dockerfile no longer calling into the entrypoint.sh, so the binary is expecting |
I've been trying for the better part of an hour now, and it's not possible given the information in the readme to get this working in docker. I've tried
and get |
If you pass |
It is possible to add the necessary arguments in the docker compose file via the version: '3'
services:
rgit:
image: ghcr.io/w4/rgit:main
command:
- "[::]:8000"
- /git
- -d /tmp/rgit-cache.db
volumes:
- /volume/git:/git
ports:
- 8000:8000
environment:
- REFRESH_INTERVAL=5m
restart: unless-stopped Alternatively, it is also feasible to replace the entrypoint with the |
See also #103
|
I ended up going with this; Note My VPS is IPv4 only, with a caddy2 version: '3'
services:
rgit:
image: ghcr.io/w4/rgit:main
command:
- "0.0.0.0:8000"
- /git
- -d /tmp/rgit-cache.db
volumes:
- /git:/git
expose:
- 8000
environment:
- REFRESH_INTERVAL=5m
restart: unless-stopped Caddyfile: *domain.dev {
encode zstd gzip
@git host git.domain.dev
handle @git {
reverse_proxy {rgit_hash}:8000
}
@ping host ping.domain.dev
handle @ping {
respond "pong!"
}
} Using the caddy Created PR to reflect the changes. |
I keep getting required args not provided errors. Even if I am missing something simple it would be nice if the log gave a bit more info.
The text was updated successfully, but these errors were encountered: