Compare commits

...

10 commits

Author SHA1 Message Date
f3a8968ef7 Merge pull request 'chore(deps): update alpine docker tag to v3.22.0' (#28) from renovate/alpine-3.x into main
All checks were successful
build image / release_tag (push) Successful in 3m2s
build image / build (push) Successful in 9m30s
build image / publish_release (push) Successful in 7s
Reviewed-on: #28
2025-06-14 15:01:38 +02:00
1689b51abf Merge pull request 'chore(deps): update php docker tag to v8.4.8' (#27) from renovate/php-8.x into main
Some checks failed
build image / build (push) Has been cancelled
build image / publish_release (push) Has been cancelled
build image / release_tag (push) Has been cancelled
Reviewed-on: #27
2025-06-14 15:00:40 +02:00
516e666f6c
chore(deps): update alpine docker tag to v3.22.0
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
2025-06-14 12:57:54 +00:00
a5f5a29265
chore(deps): update php docker tag to v8.4.8 2025-06-14 12:57:52 +00:00
f11cb8532c
feat: changed domain
Some checks failed
build image / release_tag (push) Has been cancelled
build image / build (push) Has been cancelled
build image / publish_release (push) Has been cancelled
2025-06-14 14:48:11 +02:00
sujiba
7b80631220 README.md aktualisiert
Some checks failed
build image / release_tag (push) Has been cancelled
build image / build (push) Has been cancelled
build image / publish_release (push) Has been cancelled
2025-05-12 23:39:08 +02:00
sujiba
06ee9354f4 README.md aktualisiert
Some checks failed
build image / build (push) Has been cancelled
build image / publish_release (push) Has been cancelled
build image / release_tag (push) Has been cancelled
2025-05-12 23:38:41 +02:00
sujiba
6e5b8473bf Merge pull request 'chore(deps): update php docker tag to v8.4.7' (#26) from renovate/php-8.x into main
All checks were successful
build image / release_tag (push) Successful in 30s
build image / build (push) Successful in 7m21s
build image / publish_release (push) Successful in 6s
Reviewed-on: https://git.smail.koeln/homelab/docker-ownDynDNS-netcup/pulls/26
2025-05-09 14:21:03 +02:00
9b5dd411d0 chore(deps): update php docker tag to v8.4.7 2025-05-09 00:43:36 +00:00
098d01b73d chore(deps): update php docker tag to v8.4.6
All checks were successful
build image / release_tag (push) Successful in 31s
build image / build (push) Successful in 6m49s
build image / publish_release (push) Successful in 7s
2025-04-11 21:44:15 +00:00
2 changed files with 16 additions and 10 deletions

View file

@ -1,6 +1,6 @@
# docker-ownDynDNS-netcup # docker-ownDynDNS-netcup
[![Worklfow](https://git.smail.koeln/homelab/docker-ownDynDNS-netcup/badges/workflows/build_main.yaml/badge.svg)](https://git.smail.koeln/homelab/docker-ownDynDNS-netcup) [![Release](https://git.smail.koeln/homelab/docker-ownDynDNS-netcup/badges/release.svg)](https://git.smail.koeln/homelab/docker-ownDynDNS-netcup/releases) [![Worklfow](https://code.offene.cloud/homelab/docker-ownDynDNS-netcup/badges/workflows/build_main.yaml/badge.svg)](https://code.offene.cloud/homelab/docker-ownDynDNS-netcup) [![Release](https://code.offene.cloud/homelab/docker-ownDynDNS-netcup/badges/release.svg)](https://code.offene.cloud/homelab/docker-ownDynDNS-netcup/releases)
- [docker-ownDynDNS-netcup](#docker-owndyndns-netcup) - [docker-ownDynDNS-netcup](#docker-owndyndns-netcup)
- [acknowledgments](#acknowledgments) - [acknowledgments](#acknowledgments)
@ -15,22 +15,28 @@ This container is based on the work of:
* [Fernwerker ownDynDNS](https://github.com/fernwerker/ownDynDNS) * [Fernwerker ownDynDNS](https://github.com/fernwerker/ownDynDNS)
## Netcup configuration ## Netcup configuration
You need to create your dns entries beforehand: You need to create two dns entries beforehand:
| Host | Type | Destination | | Host | Type | Destination |
|----------|-------|--------------| |----------|-------|--------------|
| vpn | AAAA | IPv6 | | vpn | AAAA | IPv6 |
| vpn | A | IPv4 | | vpn | A | IPv4 |
| ddns | AAAA | IPv6 |
| ddns | A | IPv4 |
vpn.example.com -> the domain that gets updated
ddns.example.com -> the domain your Fritz!Box calls for updates
## Container configuration ## Container configuration
Create docker-compose.yml and config in your app directory i.e.: Create compose.yml and config in your app directory i.e.:
``` ```
mkdir -p /opt/docker/owndyndns mkdir -p /opt/docker/owndyndns
cd /opt/docker/owndyndns cd /opt/docker/owndyndns
# Create docker-compose.yml and copy the contents from repository file # Create docker-compose.yml and copy the contents from repository file
vi docker-compose.yml vi compose.yml
# Create config, copy the contents from repository example.config and change the parameters # Create config, copy the contents from repository example.config and change the parameters
vi config vi config
@ -43,8 +49,8 @@ docker compose up -d
* Login to your Fritz!Box * Login to your Fritz!Box
* Go to /Internet/Freigabe/DynDNS * Go to /Internet/Freigabe/DynDNS
* Set mark on "DynDNS benutzen" * Set mark on "DynDNS benutzen"
* Enter Update-URL: `https://<url of your webspace>/update.php?user=<username>&password=<pass>&ipv4=<ipaddr>&ipv6=<ip6addr>&domain=<domain>` * Enter Update-URL: `https://ddns.example.com/update.php?user=<username>&password=<pass>&ipv4=<ipaddr>&ipv6=<ip6addr>&domain=<domain>`
* You only have to change `https://<url of your webspace>` (http without valid TLS certificate) * You only have to change `https://ddns.example.com` (http without valid TLS certificate)
* Domainname: `vpn.example.com` * Domainname: `vpn.example.com`
* Username: Defined in config * Username: Defined in config
* Password: Defined in config * Password: Defined in config

View file

@ -1,5 +1,5 @@
# Get latest app version # Get latest app version
FROM alpine:3.21.3 FROM alpine:3.22.0
WORKDIR /clone-workspace WORKDIR /clone-workspace
RUN apk update && \ RUN apk update && \
apk upgrade && \ apk upgrade && \
@ -7,7 +7,7 @@ RUN apk update && \
git clone https://github.com/fernwerker/ownDynDNS.git git clone https://github.com/fernwerker/ownDynDNS.git
# Build container to run the app # Build container to run the app
FROM php:8.4.5-apache FROM php:8.4.8-apache
WORKDIR /var/www/html WORKDIR /var/www/html
RUN apt-get update && \ RUN apt-get update && \