Commit graph

146 commits

Author SHA1 Message Date
murphy83
3ba3021b68
Added possibility to use an existing config file for recursor or auth… (#135)
* Added possibility to use an existing config file for recursor or authorative mysql-powerdns-server, in case the configuration file is handed in from a volume or bind mount (in which it should be mounted as read only!).

* ammended changes to PostgreSQL init to provide the same features as the MySQL one.

* do not forget to init superslaves if needed.

* typos and really do install config file by environment.

---------

Co-authored-by: Kai Schlachter <kai.schlachter@bahag.com>
2024-05-06 17:13:13 +02:00
Kai Schlachter
5ec6211f6d added example for a docker compse file using IPv6 config. 2024-05-03 17:10:55 +02:00
Peter Schiffer
e34dcd9665
Allow pdns containers to run rootless 2024-02-05 17:18:05 +01:00
Peter Schiffer
a10e85cdc1
Bump alpine from 3.19.0 to 3.19.1 2024-02-01 16:36:09 +01:00
Peter Schiffer
c704c958b5
pdns-admin: skip caddy during healthcheck
Caddy can be configured with self-signed SSL certificate, which can
cause problems for curl even with `-k` option. Checking uwsgi directly
makes sure the python app as well as database connection is working.

resolves: #125
2024-01-25 15:27:25 +01:00
Peter Schiffer
09edf0c36b
Update links in the README 2024-01-19 17:48:42 +01:00
Peter Schiffer
72d2d33e46
Update README 2024-01-12 17:14:28 +01:00
Peter Schiffer
9f0c8ba202
Create FUNDING.yml 2024-01-12 16:37:06 +01:00
Peter Schiffer
57df06a013
Update README 2024-01-03 23:52:56 +01:00
Peter Schiffer
193dc33dff
Create CODE_OF_CONDUCT.md 2024-01-03 23:06:45 +01:00
Peter Schiffer
f9da1c64b1
Add healthchecks 2024-01-03 22:28:50 +01:00
Peter Schiffer
de28ddd0d8
Add pdns-pgsql, support pgsql in pdns-admin 2024-01-03 19:27:25 +01:00
Peter Schiffer
84129e9f73
Rename pdns dir to pdns-mysql 2024-01-02 20:09:28 +01:00
Peter Schiffer
2b264c149e
Replace pdns-admin-static and pdns-admin-uwsgi images with single pdns-admin 2024-01-01 20:39:33 +01:00
Peter Schiffer
c18b7dcdce
subvars has good packages now 2023-12-23 21:45:09 +01:00
Peter Schiffer
4754e76ce7
Improve arm build time for Fedora
For some reason, openh264 repo is causing delays on arm in Github
actions.
2023-12-23 21:09:22 +01:00
Peter Schiffer
08ed6b10d1
Switch base image for pdns-admin
from Fedora to Rocky linux 9 UBI for more stability. Bleeding edge
Python is not good for pdns-admin.
2023-12-20 15:10:14 +01:00
Peter Schiffer
e37b326748
Tidy up scripts 2023-12-19 23:12:51 +01:00
Peter Schiffer
15d3225d61
Tidy up Dockerfiles 2023-12-19 22:20:10 +01:00
Peter Schiffer
0a615b25ca
Allow configuration of uwsgi host and port in static image
via env vars `PDNS_ADMIN_STATIC_UWSGI_HOST` and `PDNS_ADMIN_STATIC_UWSGI_PORT`

Fixes #27
2023-12-19 20:50:59 +01:00
Peter Schiffer
5427e1e1fc Replace envtpl with subvars for less deps
Fixes #71
2023-12-19 18:56:42 +01:00
Peter Schiffer
3c7bada92b
Update github action versions 2023-12-19 14:41:18 +01:00
Peter Schiffer
fd18c3bf28
arm64 build for pdns-admin 2023-12-17 17:38:23 +01:00
Peter Schiffer
82550ee69c
Ansible lint, update versions 2023-12-17 02:39:45 +01:00
Peter Schiffer
c7d2da3d72
Fix broken PyYAML dep for pdns-admin
Fixes #116
2023-12-17 02:38:00 +01:00
Peter Schiffer
a6c9b76736
Update pdns versions by updating base images 2023-12-17 02:36:45 +01:00
Peter Schiffer
8f9ea37a85
Simplify configuration of pdns admin
Drop quotes from env var values, and add them only if needed directly in
the python config file.

Resolves #108
2023-05-06 21:50:58 +02:00
Peter Schiffer
dd69a356a3
Revert "Revert "Do not build pdns admin for arm64""
There are some network issues during build on arm64, will try again
later.

This reverts commit 4f57d2f200.
2023-04-21 23:20:47 +02:00
Peter Schiffer
68a7655172 Update mariadb version 2023-04-21 20:51:23 +02:00
Peter Schiffer
4f57d2f200 Revert "Do not build pdns admin for arm64"
pdns admin build process seems to be improved, should work for arm64
too now

This reverts commit c214a5599f.
2023-04-21 20:51:23 +02:00
Peter Schiffer
594b241621 envtpl has been updated to work with the latest jinja2 2023-04-21 20:51:23 +02:00
Peter Schiffer
3eb84f8573 Revert "Latest jinja2 breaks envtpl"
envtpl has been updated to work with the latest jinja2

This reverts commit 72a9919cec.
2023-04-21 20:51:23 +02:00
Peter Schiffer
73fad4b9f5 Update base images, move to the versioned PowerDNS-Admin archive 2023-04-21 20:51:23 +02:00
dependabot[bot]
2959273e6e Bump alpine from 3.17.1 to 3.17.2 in /pdns
Bumps alpine from 3.17.1 to 3.17.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 15:52:12 +01:00
dependabot[bot]
44e91ec740 Bump alpine from 3.17.1 to 3.17.2 in /pdns-recursor
Bumps alpine from 3.17.1 to 3.17.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 15:51:53 +01:00
Peter Schiffer
b604c907bd
pdns-admin: catch up with upstream changes
Captcha seems to be mandatory for now.
2023-02-24 23:40:00 +01:00
Peter Schiffer
b1f97c95c7
Run PR workflow in parallel 2023-02-24 22:23:07 +01:00
Peter Schiffer
c214a5599f
Do not build pdns admin for arm64
As the build takes forever on Github and never finishes. This can be
re-evaluated once the upstream improves the `flask assets build`
process.
2023-02-24 22:10:34 +01:00
Peter Schiffer
689f455d98
CI: run jobs in the main workflow in parallel 2023-02-24 15:45:05 +01:00
Peter Schiffer
dc97d58e2d
pdns-admin: catching up with upstream changes
Build process requires npm now, `python3-lxml` requested is too old to
build on newer python and gcc, so we install pre-compiled system
version.
2023-02-24 00:43:16 +01:00
Chongyi Zheng
ecb0ec7685
Build arm64 images in CI (#96)
* Configure arm64 build for workflows

* Add Arm builds to `docker-image.yml`

* Format yaml file

* Remove arm/v7 since Fedora has no official image for it
2023-02-23 22:43:12 +01:00
Peter Schiffer
22d00a3754
Include automatic db schema migration to version 4.7
https://doc.powerdns.com/authoritative/upgrading.html#to-4-7-0-or-master

fixes #97
2023-01-16 14:10:39 +01:00
Peter Schiffer
0db0e6259e
Update VERSION env var, mariadb and phpmyadmin 2023-01-15 17:06:10 +01:00
Peter Schiffer
014b328705
CI: update step versions 2023-01-13 22:32:45 +01:00
dependabot[bot]
f4aa36a53e
Bump fedora from 35 to 37 in /pdns-admin-base-ngoduykhanh (#89)
Bumps fedora from 35 to 37.

---
updated-dependencies:
- dependency-name: fedora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 22:08:49 +01:00
dependabot[bot]
37ab0088a6
Bump fedora from 35 to 37 in /pdns (#91)
Bumps fedora from 35 to 37.

---
updated-dependencies:
- dependency-name: fedora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 22:06:44 +01:00
dependabot[bot]
5baaf0c57a
Bump fedora from 35 to 37 in /pdns-recursor (#90)
Bumps fedora from 35 to 37.

---
updated-dependencies:
- dependency-name: fedora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 21:55:43 +01:00
dependabot[bot]
efd1216143
Bump alpine from 3.15.0 to 3.17.1 in /pdns (#95)
Bumps alpine from 3.15.0 to 3.17.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 21:54:36 +01:00
dependabot[bot]
4ff0390dab
Bump alpine from 3.15.0 to 3.17.1 in /pdns-recursor (#94)
Bumps alpine from 3.15.0 to 3.17.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 21:53:51 +01:00
Peter Schiffer
8d8df061d4
CI: do not use secrets in workflow for PRs 2023-01-13 21:19:44 +01:00