[PR #441] Add Dockerfile config #510

Open
opened 2026-02-26 10:31:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nsupdate-info/nsupdate.info/pull/441
Author: @lkraider
Created: 12/20/2019
Status: 🔄 Open

Base: masterHead: docker


📝 Commits (7)

  • 0e718b3 build: add Dockerfile config
  • 3ce4c54 Merge remote-tracking branch 'upstream/master' into docker
  • c941a9e build: move docker into contrib
  • 4d166c8 build(docker): parameterize Dockerfile path
  • e5d3453 build(docker): simplify release action
  • a181c6d build(docker): PEP8 fixes on build script
  • 685b5bd build(docker): require git tag for release

📊 Changes

8 files changed (+271 additions, -0 deletions)

View changed files

misc/contrib/docker/Makefile (+36 -0)
misc/contrib/docker/build/Dockerfile (+94 -0)
misc/contrib/docker/build/confd/conf.d/local_settings.toml (+3 -0)
misc/contrib/docker/build/confd/templates/local_settings.tmpl (+27 -0)
misc/contrib/docker/build/django/create-superuser.py (+52 -0)
misc/contrib/docker/build/docker-entrypoint.sh (+13 -0)
misc/contrib/docker/build/setup.sh (+38 -0)
misc/contrib/docker/build/uwsgi.ini (+8 -0)

📄 Description

This adds the ability to create docker images for this project.

You probably want to change the maintainer names in the Makefile and the build/Dockerfile to your dockerhub user.

Use make test to run a local dev build of the project while developing and testing the image.

When ready, tag the current version using git and run make prod to create a production image ready to be pushed to the docker registry.

Originally based on the work done by: https://github.com/KebinuChiousu/docker-nsupdate


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nsupdate-info/nsupdate.info/pull/441 **Author:** [@lkraider](https://github.com/lkraider) **Created:** 12/20/2019 **Status:** 🔄 Open **Base:** `master` ← **Head:** `docker` --- ### 📝 Commits (7) - [`0e718b3`](https://github.com/nsupdate-info/nsupdate.info/commit/0e718b3e6d5f736e14d7fb8670e81ad2edc35b38) build: add Dockerfile config - [`3ce4c54`](https://github.com/nsupdate-info/nsupdate.info/commit/3ce4c54e6f1db6815853ee43e35314cb91637c06) Merge remote-tracking branch 'upstream/master' into docker - [`c941a9e`](https://github.com/nsupdate-info/nsupdate.info/commit/c941a9e3954fa85a6c4caea1e07c0554e1d3773a) build: move docker into contrib - [`4d166c8`](https://github.com/nsupdate-info/nsupdate.info/commit/4d166c84caa6aa51c213687661e2deafa6860ac2) build(docker): parameterize Dockerfile path - [`e5d3453`](https://github.com/nsupdate-info/nsupdate.info/commit/e5d3453299748d0ea334229b1937a2d2f0dec693) build(docker): simplify release action - [`a181c6d`](https://github.com/nsupdate-info/nsupdate.info/commit/a181c6d1497e9681ef4b6ade0c46d71c2d6f7853) build(docker): PEP8 fixes on build script - [`685b5bd`](https://github.com/nsupdate-info/nsupdate.info/commit/685b5bd0b54c68343a70225ac4056a79b3abcf48) build(docker): require git tag for release ### 📊 Changes **8 files changed** (+271 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `misc/contrib/docker/Makefile` (+36 -0) ➕ `misc/contrib/docker/build/Dockerfile` (+94 -0) ➕ `misc/contrib/docker/build/confd/conf.d/local_settings.toml` (+3 -0) ➕ `misc/contrib/docker/build/confd/templates/local_settings.tmpl` (+27 -0) ➕ `misc/contrib/docker/build/django/create-superuser.py` (+52 -0) ➕ `misc/contrib/docker/build/docker-entrypoint.sh` (+13 -0) ➕ `misc/contrib/docker/build/setup.sh` (+38 -0) ➕ `misc/contrib/docker/build/uwsgi.ini` (+8 -0) </details> ### 📄 Description This adds the ability to create docker images for this project. You probably want to change the maintainer names in the `Makefile` and the `build/Dockerfile` to your dockerhub user. Use `make test` to run a local dev build of the project while developing and testing the image. When ready, tag the current version using git and run `make prod` to create a production image ready to be pushed to the docker registry. Originally based on the work done by: https://github.com/KebinuChiousu/docker-nsupdate --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsupdate.info-nsupdate-info#510
No description provided.