yobasystems / alpine-caddy Goto Github PK
View Code? Open in Web Editor NEWCaddy running on Alpine Linux [Docker]
Home Page: https://hub.docker.com/r/yobasystems/alpine-caddy/
Caddy running on Alpine Linux [Docker]
Home Page: https://hub.docker.com/r/yobasystems/alpine-caddy/
Running yobasystems/alpine-caddy:armhf
ends with:
making user directory: mkdir /home/caddy: permission denied
On the container it seems that /home
exists but it's empty and owned by root
and the user running is caddy
.
I'm getting this error from docker, while setting it up with this command:
docker run -d --name spooler -v $(pwd):/srv -p 2015:2015 yobasystems/alpine-caddy:php
run: reading config file: open /etc/caddy/Caddyfile: no such file or directory
Hello,
I had to add one more command in order to get the certificates from the Let's Encrypt staging server.
I was receiving (in the GitLab CI)
[example.com] failed to get certificate: [example.com] error presenting token: presenting with standard HTTP provider server: Could not start HTTP server for challenge -> listen tcp :80: bind: permission denied
and
listen tcp :443: bind: permission denied
After adding this commands (including libcap) in your Docker image
RUN apk add --update openssh-client git tar curl libcap
...
RUN chown -R caddy:caddy /srv /home
RUN setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/caddy
it resolved the issue. libcap and the RUN command after RUN chown -R caddy:caddy /srv /home
Maybe it's not the best place to report, as it doesn't much relate to alpine-caddy, but ๐คท๐ปโโ๏ธ
On the bottom of README there is a link do Yoba Systems webpage, on .co.uk, which redirects to another domain yoba.systems which complains about some invalid SSL certificate.
Hello, Dominic
I am bob. I pulled your docker image 'alpine-caddy' and ran as daemon. It ran up ok.
But I ran 'alpine-caddy:php', It failed to run and logs is the following:
no action found for directive 'startup' with server type 'http' (missing a plugin?)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.