diff --git a/.env b/.env index 7e5f58c..75725f9 100644 --- a/.env +++ b/.env @@ -19,64 +19,66 @@ DB_ENGINE=django.db.backends.postgresql # Linux (uid 1000 gid 1000) -PYTHON_TAG=3.14-dev-r3 -#PYTHON_TAG=3.13-dev-r3 -#PYTHON_TAG=3.12-dev-r3 -#PYTHON_TAG=3.11-dev-r3 +PYTHON_TAG=3.14-dev-r9 +#PYTHON_TAG=3.13-dev-r9 +#PYTHON_TAG=3.12-dev-r9 +#PYTHON_TAG=3.11-dev-r9 # macOS (uid 501 gid 20) -#PYTHON_TAG=3.14-dev-macos-r3 -#PYTHON_TAG=3.13-dev-macos-r3 -#PYTHON_TAG=3.12-dev-macos-r3 -#PYTHON_TAG=3.11-dev-macos-r3 +#PYTHON_TAG=3.14-dev-macos-r9 +#PYTHON_TAG=3.13-dev-macos-r9 +#PYTHON_TAG=3.12-dev-macos-r9 +#PYTHON_TAG=3.11-dev-macos-r9 ### --- NGINX ---- -NGINX_TAG=1.31-r3 -#NGINX_TAG=1.30-r3 +NGINX_TAG=1.31-r25 +#NGINX_TAG=1.30-r25 ### --- NODE --- -NODE_TAG=26-dev-r5 -#NODE_TAG=24-dev-r5 -#NODE_TAG=22-dev-r5 +NODE_TAG=26-dev-r14 +#NODE_TAG=24-dev-r14 +#NODE_TAG=22-dev-r14 ### --- POSTGRESQL ---- -POSTGRES_TAG=18-r1 -#POSTGRES_TAG=17-r1 -#POSTGRES_TAG=16-r1 -#POSTGRES_TAG=15-r1 -#POSTGRES_TAG=14-r1 +POSTGRES_TAG=18-r6 +#POSTGRES_TAG=17-r6 +#POSTGRES_TAG=16-r6 +#POSTGRES_TAG=15-r6 +#POSTGRES_TAG=14-r6 ### --- MARIADB ---- #DB_ROOT_PASSWORD=password -MARIADB_TAG=11.8-r3 -#MARIADB_TAG=11.4-r3 -#MARIADB_TAG=10.11-r3 -#MARIADB_TAG=10.6-r3 +MARIADB_TAG=11.8-r21 +#MARIADB_TAG=12.3-r99 +#MARIADB_TAG=11.4-r99 +#MARIADB_TAG=10.11-r21 +#MARIADB_TAG=10.6-r21 ### --- VALKEY --- -VALKEY_TAG=9.0-r0 -#VALKEY_TAG=8.1-r0 -#VALKEY_TAG=8.0-r0 -#VALKEY_TAG=7-r0 +VALKEY_TAG=9.1-r5 +#VALKEY_TAG=9.0-r5 +#VALKEY_TAG=8.1-r5 +#VALKEY_TAG=8.0-r5 +#VALKEY_TAG=7-r5 ### --- REDIS --- -REDIS_TAG=8.6-r1 -#REDIS_TAG=8.4-r1 -#REDIS_TAG=8.2-r1 -#REDIS_TAG=7.4-r1 +REDIS_TAG=8.6-r5 +#REDIS_TAG=8.4-r5 +#REDIS_TAG=8.2-r5 +#REDIS_TAG=7.4-r5 ### --- VINYL --- -VINYL_TAG=8.0-r3 -#VINYL_TAG=6.0-r3 +VINYL_TAG=9.1-r19 +#VINYL_TAG=6.0-r19 ### --- OPENSEARCH --- @@ -85,12 +87,12 @@ OPENSEARCH_ADMIN_PASSWORD=VERY%@bad123password ### --- SOLR --- -SOLR_TAG=10-r1 -#SOLR_TAG=9-r1 +SOLR_TAG=10-r4 +#SOLR_TAG=9-r4 ### OTHERS -ADMINER_TAG=6-r1 -MEMCACHED_TAG=1-r0 +ADMINER_TAG=6-r15 +MEMCACHED_TAG=1-r2 RSYSLOG_TAG=latest -OPENSMTPD_TAG=7-r3 +OPENSMTPD_TAG=7-r18 diff --git a/README.md b/README.md index 65ae984..8fcc5bc 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Docker4Python is a set of docker images optimized for Python applications (suita `compose.yml` file from the [latest stable release](https://github.com/wodby/docker4python/releases) to spin up local environment on Linux, Mac OS X and Windows. - Read the docs on [**how to use**](https://wodby.com/docs/1.0/stacks/python/local#usage) +- Deploy to production with the [Python stack on Wodby](https://wodby.com/deploy-python) - Ask questions on [Discord](http://discord.wodby.com/) - Ask questions on [Slack](http://slack.wodby.com/) - Follow [@wodbycloud](https://twitter.com/wodbycloud) for updates announcements @@ -21,11 +22,11 @@ The Python stack consists of the following containers: | [Nginx] | 1.31, 1.30 | [wodby/nginx] | ✓ | | [Python] | 3.14, 3.13, 3.12, 3.11 | [wodby/python] | ✓ | | [PostgreSQL] | 18, 17, 16, 15, 14 | [wodby/postgres] | ✓ | -| [Valkey] | 9.0, 8.1, 8.0, 7 | [wodby/valkey] | ✓ | +| [Valkey] | 9.1, 9.0, 8.1, 8.0, 7 | [wodby/valkey] | ✓ | | [Redis] | 8.6, 8.4, 8.2, 7.4 | [wodby/redis] | | -| [MariaDB] | 11.8, 11.4, 10.11, 10.6 | [wodby/mariadb] | | +| [MariaDB] | 12.3, 11.8, 11.4, 10.11, 10.6 | [wodby/mariadb] | | | [Node.js] | 26, 24, 22 | [wodby/node] | | -| Vinyl ([Varnish]) | 8.0, 6.0 | [wodby/vinyl] | | +| Vinyl ([Varnish]) | 9.1, 6.0 | [wodby/vinyl] | | | [Solr] | 10, 9 | [wodby/solr] | | | OpenSearch | 2 | [opensearchproject/opensearch] | | | OpenSearch Dashboards | 2 | [opensearchproject/opensearch-dashboards] | | @@ -64,6 +65,20 @@ for details. We regularly update images used in this stack and release them together, see [releases page](https://github.com/wodby/docker4python/releases) for full changelog and update instructions. Most of routine updates for images and this project performed by [the bot](https://github.com/wodbot) via scripts located at [wodby/images](https://github.com/wodby/images). +## Deploy to production + +Docker4Python is for local development with Docker Compose. To run a Python application in production, use the [Python stack on Wodby](https://wodby.com/deploy-python), or the [Django stack](https://wodby.com/deploy-django) for a Django project. + +The Python stack runs your repository on Kubernetes under Gunicorn, with PostgreSQL, Valkey, and mail as optional services. The Django stack includes PostgreSQL and Valkey, and applies migrations and collects static files after every deployment. You choose where either runs: Wodby Cloud, a Kubernetes cluster in your own cloud account, or a single server of your own. + +* Start from the Python or Django boilerplate, or connect your own repository +* Gunicorn workers and timeouts are variables on the app service +* Connection settings for a database, Valkey, or mail are added when you link the service +* CI/CD is built in +* A free plan is available, including on a server of your own + +Read the [Python stack guide](https://wodby.com/docs/2.0/stacks/catalog/python/) and the [Django stack guide](https://wodby.com/docs/2.0/stacks/catalog/django/), or see [Python hosting on Wodby](https://wodby.com/python-hosting) and [pricing](https://wodby.com/pricing). + ## Other Docker4x projects * [docker4php](https://github.com/wodby/docker4php) diff --git a/tests/.env b/tests/.env index fa70b06..c68c357 100644 --- a/tests/.env +++ b/tests/.env @@ -5,8 +5,8 @@ DB_HOST=postgres DB_ADAPTER=postgresql DB_ENGINE=django.db.backends.postgresql -VALKEY_TAG=9.0-r0 -POSTGRES_TAG=18-r1 -NGINX_TAG=1.31-r3 +VALKEY_TAG=9.1-r5 +POSTGRES_TAG=18-r6 +NGINX_TAG=1.31-r25 -PYTHON_IMAGE_REVISION=r3 +PYTHON_IMAGE_REVISION=r9