Compare commits
30 commits
Author | SHA1 | Date | |
---|---|---|---|
f3a8968ef7 | |||
1689b51abf | |||
516e666f6c | |||
a5f5a29265 | |||
f11cb8532c | |||
|
7b80631220 | ||
|
06ee9354f4 | ||
|
6e5b8473bf | ||
9b5dd411d0 | |||
098d01b73d | |||
|
953eeb68b8 | ||
|
8364fb31c6 | ||
893c7117dc | |||
aebe99de56 | |||
|
6c47fd8b4b | ||
|
a6eca496c5 | ||
72e323c919 | |||
|
bcee683120 | ||
|
95fbbde9c2 | ||
|
b1966d8c5d | ||
|
24c6b713df | ||
|
55b68a754a | ||
64f70bf2fe | |||
|
927e438b90 | ||
3e16016dc3 | |||
|
230b24c575 | ||
869503c7dd | |||
|
5d7bccc132 | ||
|
80ac67e514 | ||
|
513f1b3495 |
6 changed files with 35 additions and 15 deletions
|
@ -59,8 +59,6 @@ jobs:
|
|||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
endpoint: tcp://docker-in-docker:2375
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
|
|
22
README.md
22
README.md
|
@ -1,5 +1,7 @@
|
|||
# docker-ownDynDNS-netcup
|
||||
|
||||
[](https://code.offene.cloud/homelab/docker-ownDynDNS-netcup) [](https://code.offene.cloud/homelab/docker-ownDynDNS-netcup/releases)
|
||||
|
||||
- [docker-ownDynDNS-netcup](#docker-owndyndns-netcup)
|
||||
- [acknowledgments](#acknowledgments)
|
||||
- [Netcup configuration](#netcup-configuration)
|
||||
|
@ -13,22 +15,28 @@ This container is based on the work of:
|
|||
* [Fernwerker ownDynDNS](https://github.com/fernwerker/ownDynDNS)
|
||||
|
||||
## 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 |
|
||||
| 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
|
||||
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
|
||||
cd /opt/docker/owndyndns
|
||||
|
||||
# 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
|
||||
vi config
|
||||
|
@ -41,8 +49,8 @@ docker compose up -d
|
|||
* Login to your Fritz!Box
|
||||
* Go to /Internet/Freigabe/DynDNS
|
||||
* 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>`
|
||||
* You only have to change `https://<url of your webspace>` (http without valid TLS certificate)
|
||||
* 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://ddns.example.com` (http without valid TLS certificate)
|
||||
* Domainname: `vpn.example.com`
|
||||
* Username: Defined in config
|
||||
* Password: Defined in config
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Get latest app version
|
||||
FROM alpine:3.20.3
|
||||
FROM alpine:3.22.0
|
||||
WORKDIR /clone-workspace
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
|
@ -7,7 +7,7 @@ RUN apk update && \
|
|||
git clone https://github.com/fernwerker/ownDynDNS.git
|
||||
|
||||
# Build container to run the app
|
||||
FROM php:8.3.11-apache
|
||||
FROM php:8.4.8-apache
|
||||
WORKDIR /var/www/html
|
||||
|
||||
RUN apt-get update && \
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
version: "3"
|
||||
|
||||
---
|
||||
services:
|
||||
ownDynDNS:
|
||||
image: sujiba/docker-owndyndns-netcup:latest
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
"extends": [
|
||||
"local>homelab/renovate-config"
|
||||
],
|
||||
"baseBranches": ["dev"],
|
||||
"baseBranches": ["main"],
|
||||
"useBaseBranchConfig": "merge",
|
||||
"packageRules": [
|
||||
{
|
||||
"description": "Automerge dependency updates",
|
||||
"matchUpdateTypes": ["major", "minor", "patch", "pin", "digest"],
|
||||
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
|
||||
"automerge": true
|
||||
}
|
||||
]
|
||||
|
|
15
renovate.json_dev
Normal file
15
renovate.json_dev
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"local>homelab/renovate-config"
|
||||
],
|
||||
"baseBranches": ["dev"],
|
||||
"useBaseBranchConfig": "merge",
|
||||
"packageRules": [
|
||||
{
|
||||
"description": "Automerge dependency updates",
|
||||
"matchUpdateTypes": ["major", "minor", "patch", "pin", "digest"],
|
||||
"automerge": true
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue