Refactor Docker Compose configurations and add deployment workflows for cloud-pc and mini-pc services
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
ada-dev.ru {
|
||||
reverse_proxy 10.122.62.51:7080
|
||||
}
|
||||
|
||||
cloud.ada-dev.ru {
|
||||
reverse_proxy 10.122.62.51:8081
|
||||
}
|
||||
|
||||
git.ada-dev.ru {
|
||||
reverse_proxy 10.122.62.51:3002
|
||||
}
|
||||
|
||||
pass.ada-dev.ru {
|
||||
reverse_proxy 10.122.62.95:10380
|
||||
}
|
||||
|
||||
# projects.ada-dev.ru {
|
||||
# reverse_proxy 10.122.62.51:4567
|
||||
# }
|
||||
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
caddy:
|
||||
image: caddy:2-alpine
|
||||
container_name: caddy
|
||||
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: {}
|
||||
@@ -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: ru-vps-runner
|
||||
@@ -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: {}
|
||||
Reference in New Issue
Block a user