Files
HomeServerServices/proxy/init-compose.yml
2026-01-04 06:56:55 -06:00

24 lines
476 B
YAML

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