Refactor Docker Compose configurations and add deployment workflows for cloud-pc and mini-pc services
Deploy cloud-pc / deploy (push) Failing after 15s
Deploy mini-pc / deploy (push) Failing after 4s
Deploy ru-vps / deploy (push) Failing after 5s

This commit is contained in:
Dmitry
2026-05-27 15:41:15 +03:00
parent 90128b237d
commit dc3ff78d6d
39 changed files with 603 additions and 29 deletions
+2
View File
@@ -0,0 +1,2 @@
TIMEWEB_API_URL=https://api.timeweb.cloud/api/v1
TIMEWEB_API_TOKEN=changeme
+14
View File
@@ -0,0 +1,14 @@
{
acme_dns timeweb {
ApiURL {env.TIMEWEB_API_URL}
ApiToken {env.TIMEWEB_API_TOKEN}
}
}
git.ada-dev.ru {
reverse_proxy 192.168.1.5:3002
}
cloud.ada-dev.ru {
reverse_proxy 192.168.1.5:8081
}
+8
View File
@@ -0,0 +1,8 @@
FROM caddy:2-builder-alpine AS builder
RUN xcaddy build \
--with github.com/dmtr636/caddy-dns-timeweb@v1.0.3
FROM caddy:2-alpine
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
+16
View File
@@ -0,0 +1,16 @@
services:
caddy:
build: .
container_name: caddy
env_file:
- .env
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- /opt/data/caddy:/data
- /opt/configs/caddy:/config
networks: {}