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
View File
+3 -3
View File
@@ -23,8 +23,8 @@ services:
- PGID=1000
- TZ=Europe/Moscow
volumes:
- /srv/stacks/adguard/work:/opt/adguardhome/work:rw
- /srv/stacks/adguard/conf:/opt/adguardhome/conf:rw
- /opt/data/adguard/work:/opt/adguardhome/work:rw
- /opt/configs/adguard:/opt/adguardhome/conf:rw
- /etc/hosts:/etc/hosts:ro
ports:
- 53:53/tcp # DNS - **mandatory**
@@ -43,4 +43,4 @@ services:
cap_add:
- NET_ADMIN
- SYS_MODULE
networks: {}
networks: {}
+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: {}
+11
View File
@@ -0,0 +1,11 @@
services:
gitea-runner:
image: gitea/act_runner:latest
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /opt/data/gitea-runner:/data
environment:
GITEA_INSTANCE_URL: https://git.ada-dev.ru
GITEA_RUNNER_REGISTRATION_TOKEN: ${TOKEN}
GITEA_RUNNER_NAME: mini-pc-runner
-12
View File
@@ -1,12 +0,0 @@
services:
npm:
image: jc21/nginx-proxy-manager:latest
container_name: npm
restart: always
ports:
- "80:80"
- "443:443"
- "81:81" # UI
volumes:
- /srv/stacks/npm/data:/data
- /srv/stacks/npm/letsencrypt:/etc/letsencrypt
+2 -2
View File
@@ -10,8 +10,8 @@ services:
restart: unless-stopped
volumes:
- type: bind
source: /srv/stacks/vaultwarden/data
source: /opt/data/vaultwarden
target: /data
networks:
default:
name: vaultwarden_default
name: vaultwarden_default
+15
View File
@@ -0,0 +1,15 @@
services:
zerotier:
container_name: zerotier
restart: unless-stopped
network_mode: host
cap_add:
- NET_ADMIN
- SYS_ADMIN
devices:
- /dev/net/tun
volumes:
- /opt/data/zerotier:/var/lib/zerotier-one
image: zerotier/zerotier:latest
command: ["743993800fa5a34c"]
networks: {}