fix Caddy dev setup
This commit is contained in:
parent
8e98966db2
commit
f65e8ae819
@ -1,3 +1,3 @@
|
||||
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:
|
||||
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"
|
||||
OPTIONS=()
|
||||
BUILT_IMAGES=()
|
||||
DEFAULT_TARGETS=(server client haproxy autoupdate)
|
||||
DEFAULT_TARGETS=(server client proxy autoupdate)
|
||||
|
||||
usage() {
|
||||
cat << EOF
|
||||
|
@ -46,7 +46,7 @@ services:
|
||||
image: redis:latest
|
||||
|
||||
proxy:
|
||||
image: caddy:2.3.0-alpine
|
||||
image: os3-proxy-dev
|
||||
volumes:
|
||||
- ../caddy/Caddyfile.dev:/etc/caddy/Caddyfile
|
||||
depends_on:
|
||||
|
Loading…
Reference in New Issue
Block a user