Add basic proxy

This commit is contained in:
2026-01-04 06:56:55 -06:00
parent 65d8337742
commit a6ec3b9cc4
11 changed files with 166 additions and 0 deletions

23
proxy/init-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
services:
ddns-updater:
image: alpine:latest
container_name: ddns-updater
env_file: .env
volumes:
- ./update_dns.sh:/update_dns.sh:ro
entrypoint: ["/bin/sh", "-c"]
command:
- |
apk add --no-cache curl bash
/bin/bash /update_dns.sh
restart: "no"
nginx-proxy:
image: nginx:alpine
container_name: nginx-proxy
restart: always
ports:
- 80:80
volumes:
- ./nginx/init:/etc/nginx/conf.d:ro