fix Caddy dev setup
This commit is contained in:
parent
8e98966db2
commit
f65e8ae819
@ -1,3 +1,3 @@
|
|||||||
FROM caddy:2.3.0-alpine
|
FROM caddy:2.3.0-alpine
|
||||||
|
|
||||||
COPY Caddyfile /etc/caddy/
|
COPY Caddyfile /etc/caddy/Caddyfile
|
||||||
|
3
caddy/Dockerfile.dev
Normal file
3
caddy/Dockerfile.dev
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
FROM caddy:2.3.0-alpine
|
||||||
|
|
||||||
|
COPY Caddyfile.dev /etc/caddy/Caddyfile
|
@ -1,2 +1,2 @@
|
|||||||
build-dev:
|
build-dev:
|
||||||
docker build -t os3-proxy-dev -f Dockerfile .
|
docker build -t os3-proxy-dev -f Dockerfile.dev .
|
||||||
|
@ -19,7 +19,7 @@ DOCKER_TAG="latest"
|
|||||||
CONFIG="/etc/osinstancectl"
|
CONFIG="/etc/osinstancectl"
|
||||||
OPTIONS=()
|
OPTIONS=()
|
||||||
BUILT_IMAGES=()
|
BUILT_IMAGES=()
|
||||||
DEFAULT_TARGETS=(server client haproxy autoupdate)
|
DEFAULT_TARGETS=(server client proxy autoupdate)
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
@ -46,7 +46,7 @@ services:
|
|||||||
image: redis:latest
|
image: redis:latest
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
image: caddy:2.3.0-alpine
|
image: os3-proxy-dev
|
||||||
volumes:
|
volumes:
|
||||||
- ../caddy/Caddyfile.dev:/etc/caddy/Caddyfile
|
- ../caddy/Caddyfile.dev:/etc/caddy/Caddyfile
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Loading…
Reference in New Issue
Block a user