Commit Graph

108 Commits

Author SHA1 Message Date
Jelmer
6c64a810b4
Merge pull request #5327 from foarsitter/wait_for_it
Use wait-for-it in favor of the custom python script when waiting for postgres
2024-10-05 13:26:44 +02:00
dependabot[bot]
e0819933ad
Bump python from 3.12.6 to 3.12.7 in docs Docker image (#5416)
Bumps python from 3.12.6-slim-bookworm to 3.12.7-slim-bookworm.

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 12:19:16 +01:00
dependabot[bot]
ec499fa0ac
Bump python from 3.12.6 to 3.12.7 in local Docker image (#5415)
Bumps python from 3.12.6-slim-bookworm to 3.12.7-slim-bookworm.

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 12:18:54 +01:00
dependabot[bot]
4865e056c5
Bump python to 3.12.6 in local Docker (#5370) 2024-09-10 10:05:08 +01:00
dependabot[bot]
9f1037ab18
Bump python to 3.12.6 in docs Docker image (#5369) 2024-09-10 10:04:37 +01:00
jelmert
6f3b72d691 Use wait-for-it in favor of the custom python script when waiting for postgres 2024-08-27 13:23:06 +02:00
dependabot[bot]
ce92e1e944
Bump node from 20 to 22 (#5039) 2024-08-20 12:21:49 +02:00
dependabot[bot]
4b683d86d2 Bump python in /{{cookiecutter.project_slug}}/compose/local/docs
Bumps python from 3.12.4-slim-bookworm to 3.12.5-slim-bookworm.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-08 06:33:21 -03:00
dependabot[bot]
774176f9be Bump python in /{{cookiecutter.project_slug}}/compose/local/django
Bumps python from 3.12.4-slim-bookworm to 3.12.5-slim-bookworm.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-08 06:32:52 -03:00
Fabio C. Barrionuevo da Luz
cb103ce28d Use "ENV key=value" instead of "ENV key value" in Dockerfiles
The old syntax for ENV and LABEL is marked as deprecated in docker buildx v0.14.0

https://docs.docker.com/reference/build-checks/legacy-key-value-format/
https://github.com/moby/buildkit/pull/4923
2024-07-19 06:06:47 -03:00
Bruno Alla
1f82072d5b Fix keywords case warning in Dockerfile
Recently noticed the following warning in my Docker builds:

> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match

I don't think it's causing any harm, apart perhaps some small noise in the logs.
2024-06-26 09:14:25 -03:00
Arnav Choudhury
401ffd0e86
Update start-flower in flower to wait until all celery workers are online (#5012)
Flower needs to start only after the celery workers come online. Otherwise one will see errors like `inspect method failed` etc
2024-06-15 23:55:43 +01:00
dependabot[bot]
03e68e893f Bump python in /{{cookiecutter.project_slug}}/compose/local/docs
Bumps python from 3.12.3-slim-bookworm to 3.12.4-slim-bookworm.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-14 14:00:29 -03:00
dependabot[bot]
c11d5519d6 Bump python in /{{cookiecutter.project_slug}}/compose/local/django
Bumps python from 3.12.3-slim-bookworm to 3.12.4-slim-bookworm.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-14 14:00:10 -03:00
dependabot[bot]
8a2eb3142f
Bump python in /{{cookiecutter.project_slug}}/compose/local/docs (#4979)
Bumps python from 3.12.2-slim-bookworm to 3.12.3-slim-bookworm.

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2024-04-10 10:15:26 +01:00
dependabot[bot]
df0d91c873
Bump python from 3.12.2 to 3.12.3 in local (#4981)
Bumps python from 3.12.2-slim-bookworm to 3.12.3-slim-bookworm.

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 09:14:26 +01:00
Eraldo Energy
f4362c7676
Update mentions of psycopg in comments (#4947) 2024-03-26 15:47:02 +00:00
Jelmer Draaijer
b488056b63 Upgrade Python to version 3.12 2024-03-18 20:07:24 +01:00
GitBib
f39aff8b3f
Fix fully qualified docker images (#4905)
* Fix Python (docker) Docker image version not being recognized after adding registry to image names

* Fix Python (docs) Docker image version not being recognized after adding registry to image names

* Fix Python (django) Docker image version not being recognized after adding registry to image names
2024-03-06 13:50:01 +00:00
Jelmer
bb6d176235
Merge pull request #4840 from cookiecutter/dependabot/docker/{{cookiecutter.project_slug}}/compose/local/docs/python-3.11.8-slim-bookworm
Bump python from 3.11.7-slim-bookworm to 3.11.8-slim-bookworm in /{{cookiecutter.project_slug}}/compose/local/docs
2024-02-08 08:09:36 +01:00
dependabot[bot]
f2c320527a
Bump python in /{{cookiecutter.project_slug}}/compose/local/django
Bumps python from 3.11.7-slim-bookworm to 3.11.8-slim-bookworm.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 05:23:12 +00:00
dependabot[bot]
300ccc6b57
Bump python in /{{cookiecutter.project_slug}}/compose/local/docs
Bumps python from 3.11.7-slim-bookworm to 3.11.8-slim-bookworm.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 05:10:33 +00:00
Tim Freund
c7eded8644
Add registry to Docker images names (#4804)
Prepending docker.io/ to image names allows projects to be run in
alternate runtimes such as podman-compose without additional
configuration.
2024-01-25 09:12:07 +00:00
aiden
0618d35733
Upgrade debian to 12 bookworm (#4745)
Co-authored-by: aidenlu <aiden_lu@wochacha.com>
2023-12-19 10:43:16 +00:00
dependabot[bot]
d9a7d70899
Bump python from 3.11.6 to 3.11.7 (#4719)
* Bump python in /{{cookiecutter.project_slug}}/compose/production/django

Bumps python from 3.11.6-slim-bullseye to 3.11.7-slim-bullseye.

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

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

* Bump python in /{{cookiecutter.project_slug}}/compose/local/django

Bumps python from 3.11.6-slim-bullseye to 3.11.7-slim-bullseye.

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

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

* Bump python in /{{cookiecutter.project_slug}}/compose/local/docs

Bumps python from 3.11.6-slim-bullseye to 3.11.7-slim-bullseye.

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

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

* Update Heroku runtime to 3.11.7

* Pin pre-commit Python version to 3.11

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-12-06 09:40:04 +00:00
dependabot[bot]
957bc66d11
Bump node from 18 to 20 (#4283) 2023-12-04 09:58:02 +00:00
dependabot[bot]
e749afdeda
Bump python from 3.11.5-slim-bullseye to 3.11.6-slim-bullseye in /{{cookiecutter.project_slug}}/compose/local/docs (#4615)
Bumps python from 3.11.5-slim-bullseye to 3.11.6-slim-bullseye.

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 09:28:20 +01:00
dependabot[bot]
c0576b6658
Bump python in /{{cookiecutter.project_slug}}/compose/local/django (#4612)
Bumps python from 3.11.5-slim-bullseye to 3.11.6-slim-bullseye.

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fábio C. Barrionuevo da Luz <bnafta@gmail.com>
2023-10-03 09:30:03 -03:00
dependabot[bot]
3802572a88
Update Python version from 3.11.4 to 3.11.5 (#4542)
* Bump python in /{{cookiecutter.project_slug}}/compose/production/django

Bumps python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye.

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

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

* Bump python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye in /{{cookiecutter.project_slug}}/compose/local/django (#4544)

Bumps python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye.

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye in /{{cookiecutter.project_slug}}/compose/local/docs (#4545)

Bumps python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye.

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Heroku runtime to Python 3.11.5

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-08-28 11:06:30 +01:00
masavini
1ed6d6e03b
VS Code Dev Container (#4198)
* decontainer setup

* update

* fix typo

* keep .envs

* add info

* typo

* minor fixes

* keep compose/production

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add isort and lint

* choose editor and configure devcontainer

* choose editor and configure devcontainer

* add ssh client

* Remove isort arguments duplicated with base config

* End of file

* Only keep black as code formatter

* Add note about black not being accepted as formatter in devcontainer

* Avoid empty lines in devcontainer.json

* Move bash_history into .devcontainer folder

* Remove .prettierignore file

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-07-03 11:55:33 +02:00
dependabot[bot]
4e4ca84519
Update to Python 3.11.4 in docs Docker compose (#4379)
Bumps python from 3.11.3-slim-bullseye to 3.11.4-slim-bullseye.

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 16:47:43 +01:00
dependabot[bot]
b2dfd26834
Update to Python 3.11.4 in local Docker compose (#4380)
Bumps python from 3.11.3-slim-bullseye to 3.11.4-slim-bullseye.

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 16:47:37 +01:00
Bruno Alla
5bf90a43a9
Replace runserver with runserver_plus (#4373)
This reverts commit f93a9f78d9

In #4255, `runserver_plus` was replaced by `runserver` due to some bugs in django-extensions, preventing us to upgrade Django.

In #4372, django-extensions was upgraded to a version with a fix, so we can go back to using `runserver_plus`.
2023-06-07 17:12:01 +01:00
Bruno Alla
8d64f17494
Prevent Celery restarts on media file changes (#4352)
Fix #4318
2023-05-24 15:51:38 +01:00
dependabot[bot]
5bc3df7650
Upgrade to node v18 (#4294)
* Bump node in /{{cookiecutter.project_slug}}/compose/local/node

Bumps node from 16-bullseye-slim to 18-bullseye-slim.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

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

* Update to node 18 in prod Dockerfile

* Update to node 18 in package.json

* Update node version in CI

* Update node version in documentation

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-04-26 08:06:56 +01:00
Bruno Alla
15c933c206
Fix comment typos in Dockerfiles 2023-04-25 10:44:02 +02:00
Jelmer
42c30dafcb
Upgrade Python to version 3.11 (Faster CPython) (#4256)
* Upgrade Python to version 3.11 (Faster CPython)

* Update pyupgrade config for Python 3.11

* Update tox env to Python 3.11

* Update to latest Python 3.11.3

* Add a note about lack of support in PythonAnywhere

* Rephrase note

* Fix casing

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-04-15 11:42:33 +01:00
Jelmer
f93a9f78d9
Replace runserver_plus with runserver (#4255)
* Replace runserver_plus with runserver since it is not compatible with django >= 4.1

* Replace runserver_plus with runserver in post_gen_hooks

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-04-04 21:42:53 +01:00
dependabot[bot]
96950f2191
Bump Docker python image from 3.10.9-slim-bullseye to 3.10.10-slim-bullseye for docs (#4213)
Bumps python from 3.10.9-slim-bullseye to 3.10.10-slim-bullseye.

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 16:35:57 +00:00
dependabot[bot]
6554049a87
Bump Docker python image from 3.10.9-slim-bullseye to 3.10.10-slim-bullseye for local Django service (#4212)
Bumps python from 3.10.9-slim-bullseye to 3.10.10-slim-bullseye.

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 16:35:28 +00:00
Bruno Alla
d90f16b647
Pin base Python Docker images to bugfix (#4194)
* Pin base Python Docker images to bugfix

Fix #1810

* Skip major & minor versions of Docker images in Dependabot

* Remove argument for docs Docker image

* Update Dependabot config of generated project
2023-03-16 16:05:02 +00:00
David
77695c7c10
Fix typo in flower start for watching celery (#3966) 2022-11-26 11:08:39 +00:00
Chao Yang Wu
51f4374a8a
Fix graceful shutdown of local dev containers and use watchfiles for beat + flower (#3925)
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2022-11-23 14:51:20 +00:00
Jelmer
4ea0e98f3f
Upgrade Python version from 3.9 to 3.10 (#3913) 2022-10-24 21:41:00 +01:00
Bruno Alla
88c063f7ff
Remove --no-deps in pip wheels command of docs Dockerfile (#3875) 2022-09-24 14:37:12 +01:00
monosans
9cf280d343
Reload uvicorn on html file change (#3866) 2022-09-23 21:28:11 +01:00
monosans
26eff14308
Switch from watchgod to watchfiles (#3791) 2022-07-27 00:12:18 +01:00
Andrew Chen Wang
e9ee4a930e
Fix docs compose (again) (#3494) 2021-12-26 16:04:33 +00:00
Andrew Chen Wang
fcb26de733
Fix docs not building (#3491) 2021-12-24 19:13:43 +00:00
Arnav Choudhury
0d8a91ebfe
Making docs image 40% smaller and also making python version upgrades easier for multi-stage builds. (#2836)
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2021-12-24 11:55:47 +00:00