Update Caddy Dockerfile and docker-compose to use specific version and image reference
Deploy mini-pc / deploy (push) Failing after 29s
Deploy mini-pc / deploy (push) Failing after 29s
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
FROM caddy:2-builder-alpine AS builder
|
FROM caddy:2.8.4-builder-alpine AS builder
|
||||||
|
|
||||||
RUN xcaddy build \
|
RUN xcaddy build v2.8.4 \
|
||||||
--with github.com/dmtr636/caddy-dns-timeweb@v1.0.3
|
--with github.com/dmtr636/caddy-dns-timeweb@v1.0.3
|
||||||
|
|
||||||
FROM caddy:2-alpine
|
FROM caddy:2.8.4-alpine
|
||||||
|
|
||||||
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
caddy:
|
caddy:
|
||||||
build: .
|
image: git.ada-dev.ru/ada/caddy-timeweb:latest
|
||||||
container_name: caddy
|
container_name: caddy
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
services:
|
|
||||||
v2raya:
|
|
||||||
image: mzz2017/v2raya:latest
|
|
||||||
container_name: v2raya
|
|
||||||
restart: unless-stopped
|
|
||||||
network_mode: host
|
|
||||||
environment:
|
|
||||||
V2RAYA_LOG_FILE: /tmp/v2raya.log
|
|
||||||
volumes:
|
|
||||||
- /opt/configs/v2raya:/etc/v2raya
|
|
||||||
Reference in New Issue
Block a user