mirror of
https://github.com/gosticks/caddy-docker.git
synced 2026-06-02 17:20:05 +00:00
@@ -19,6 +19,6 @@ docker run -v $(pwd):/install -e PLUGINS=git,filemanager abiosoft/caddy:builder
|
||||
### Environment Variables
|
||||
|
||||
* `PLUGINS` - comma separated Caddy plugins. e.g. `-e PLUGINS=git,filemanager,linode`
|
||||
* `VERSION` - Caddy version. Default `0.10.11`
|
||||
* `VERSION` - Caddy version. Default `0.10.13`
|
||||
* `GOOS`, `GOARCH` and `GOARM` are all supported. Default `GOOS=linux`, `GOARCH=amd64`
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
FROM abiosoft/caddy:builder as builder
|
||||
|
||||
ARG version="0.10.12"
|
||||
ARG version="0.10.13"
|
||||
ARG plugins="git"
|
||||
|
||||
# process wrapper
|
||||
@@ -17,7 +17,7 @@ RUN VERSION=${version} PLUGINS=${plugins} /bin/sh /usr/bin/builder.sh
|
||||
FROM alpine:3.7
|
||||
LABEL maintainer "Abiola Ibrahim <abiola89@gmail.com>"
|
||||
|
||||
ARG version="0.10.12"
|
||||
ARG version="0.10.13"
|
||||
LABEL caddy_version="$version"
|
||||
|
||||
# Let's Encrypt Agreement
|
||||
|
||||
@@ -4,7 +4,7 @@ A [Docker](https://docker.com) image for [Caddy](https://caddyserver.com). This
|
||||
|
||||
|
||||
[](https://microbadger.com/images/abiosoft/caddy "Get your own image badge on microbadger.com")
|
||||
[](https://github.com/mholt/caddy/tree/v0.10.12)
|
||||
[](https://github.com/mholt/caddy/tree/v0.10.13)
|
||||
|
||||
Check [abiosoft/caddy:builder](https://github.com/abiosoft/caddy-docker/blob/master/BUILDER.md) for generating cross-platform Caddy binaries.
|
||||
|
||||
@@ -54,7 +54,7 @@ Above, we utilize the `CADDYPATH` environment variable to define a different loc
|
||||
certificates to be stored. This is probably the safest option as it ensures any future docker image changes don't interfere with your ability to save certificates!
|
||||
|
||||
### PHP
|
||||
`:[<version>-]php` variant of this image bundles PHP-FPM alongside essential php extensions and [composer](https://getcomposer.org). e.g. `:php`, `:0.10.11-php`
|
||||
`:[<version>-]php` variant of this image bundles PHP-FPM alongside essential php extensions and [composer](https://getcomposer.org). e.g. `:php`, `:0.10.13-php`
|
||||
```sh
|
||||
$ docker run -d -p 2015:2015 abiosoft/caddy:php
|
||||
```
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
VERSION=${VERSION:-"0.10.11"}
|
||||
VERSION=${VERSION:-"0.10.13"}
|
||||
|
||||
# caddy
|
||||
git clone https://github.com/mholt/caddy -b "v$VERSION" /go/src/github.com/mholt/caddy \
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
FROM abiosoft/caddy:builder as builder
|
||||
|
||||
ARG version="0.10.12"
|
||||
ARG version="0.10.13"
|
||||
ARG plugins="git"
|
||||
|
||||
# process wrapper
|
||||
@@ -17,7 +17,7 @@ RUN VERSION=${version} PLUGINS=${plugins} /bin/sh /usr/bin/builder.sh
|
||||
FROM alpine:3.7
|
||||
LABEL maintainer "Abiola Ibrahim <abiola89@gmail.com>"
|
||||
|
||||
ARG version="0.10.11"
|
||||
ARG version="0.10.13"
|
||||
LABEL caddy_version="$version"
|
||||
|
||||
# Let's Encrypt Agreement
|
||||
|
||||
Reference in New Issue
Block a user