mirror of
https://github.com/StepanovPlaton/HomeServerServices.git
synced 2026-04-03 12:20:43 +04:00
24 lines
476 B
YAML
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
|
|
|