Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wodby/docker4python

Docker-based Python web stack (works for Django)
https://github.com/wodby/docker4python

alpine arm64 django docker docker-compose python

Last synced: 7 days ago
JSON representation

Docker-based Python web stack (works for Django)

Awesome Lists containing this project

README

        

# Docker-based Python stack

[![Build Status](https://github.com/wodby/docker4python/workflows/Run%20tests/badge.svg)](https://github.com/wodby/docker4python/actions)

## Introduction

Docker4Python is a set of docker images optimized for Python applications (suitable for Django). Use `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/stacks/python/local#usage)
- 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

## Stack

The Python stack consist of the following containers:

| Container | Versions | Image | ARM64 support | Enabled by default |
|-----------------|----------------------------|-----------------------|---------------|--------------------|
| [Nginx] | 1.27, 1.26 | [wodby/nginx] | ✓ | ✓ |
| [Python] | 3.12, 3.11, 3.10, 3.9, 3.8 | [wodby/python] | ✓ | ✓ |
| [PostgreSQL] | 16, 15, 14, 13, 12 | [wodby/postgres] | ✓ | ✓ |
| [Valkey] | 8, 7 | [wodby/valkey] | ✓ | ✓ |
| [MariaDB] | 11.4, 10.6, 10.5, 10.4 | [wodby/mariadb] | ✓ | |
| [Node.js] | 22, 20, 18 | [wodby/node] | ✓ | |
| [Varnish] | 6.0 | [wodby/varnish] | ✓ | |
| [Solr] | 8 | [wodby/solr] | | |
| [Elasticsearch] | 7 | [wodby/elasticsearch] | | |
| [Kibana] | 7 | [wodby/kibana] | | |
| [Memcached] | 1 | [wodby/memcached] | | |
| [Rsyslog] | latest | [wodby/rsyslog] | | |
| Gotenberg | latest | [gotenberg/gotenberg] | ✓ | ✓ |
| Mailpit | latest | [axllent/mailpit] | ✓ | ✓ |
| [OpenSMTPD] | 7 | [wodby/opensmtpd] | ✓ | |
| Adminer | 4.6 | [wodby/adminer] | ✓ | |
| Traefik | latest | [_/traefik] | ✓ | ✓ |

## Documentation

Full documentation is available at https://wodby.com/docs/stacks/python/local

## Images' tags

Images tags format is `[VERSION]-[STABILITY_TAG]` where:

`[VERSION]` is the _version of an application_ (without patch version) running in a container, e.g. `wodby/nginx:1.15-x.x.x` where Nginx version is `1.15` and `x.x.x` is a stability tag. For some images we include both major and minor version like Python `2.5`, for others we include only major like Valkey `7`.

`[STABILITY_TAG]` is the _version of an image_ that corresponds to a git tag of the image repository, e.g. `wodby/mariadb:10.2-3.3.8` has MariaDB `10.2` and stability tag [`3.3.8`](https://github.com/wodby/mariadb/releases/tag/3.3.8). New stability tags include patch updates for applications and image's fixes/improvements (new env vars, orchestration actions fixes, etc). Stability tag changes described in the corresponding a git tag description. Stability tags follow [semantic versioning](https://semver.org/).

We highly encourage to use images only with stability tags.

## Maintenance

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).

## Other Docker4x projects

* [docker4php](https://github.com/wodby/docker4php)
* [docker4drupal](https://github.com/wodby/docker4drupal)
* [docker4wordpress](https://github.com/wodby/docker4wordpress)
* [docker4ruby](https://github.com/wodby/docker4ruby)

## License

This project is licensed under the MIT open source license.

[Elasticsearch]: https://wodby.com/docs/stacks/elasticsearch
[Kibana]: https://wodby.com/docs/stacks/elasticsearch
[MariaDB]: https://wodby.com/docs/stacks/python/containers#mariadb
[Memcached]: https://wodby.com/docs/stacks/python/containers#memcached
[Nginx]: https://wodby.com/docs/stacks/python/containers#nginx
[Node.js]: https://wodby.com/docs/stacks/python/containers#node
[OpenSMTPD]: https://wodby.com/docs/stacks/python/containers#opensmtpd
[PostgreSQL]: https://wodby.com/docs/stacks/python/containers#postgres
[Valkey]: https://wodby.com/docs/stacks/python/containers#valkey
[Rsyslog]: https://wodby.com/docs/stacks/python/containers#rsyslog
[Python]: https://wodby.com/docs/stacks/python/containers#python
[Solr]: https://wodby.com/docs/stacks/solr
[Varnish]: https://wodby.com/docs/stacks/python/containers#varnish

[_/traefik]: https://hub.docker.com/_/traefik
[gotenberg/gotenberg]: https://hub.docker.com/r/gotenberg/gotenberg
[blackfire/blackfire]: https://hub.docker.com/r/blackfire/blackfire
[axllent/mailpit]: https://hub.docker.com/r/axllent/mailpit
[wodby/adminer]: https://hub.docker.com/r/wodby/adminer
[wodby/elasticsearch]: https://github.com/wodby/elasticsearch
[wodby/kibana]: https://github.com/wodby/kibana
[wodby/mariadb]: https://github.com/wodby/mariadb
[wodby/memcached]: https://github.com/wodby/memcached
[wodby/nginx]: https://github.com/wodby/nginx
[wodby/node]: https://github.com/wodby/node
[wodby/opensmtpd]: https://github.com/wodby/opensmtpd
[wodby/postgres]: https://github.com/wodby/postgres
[wodby/valkey]: https://github.com/wodby/valkey
[wodby/rsyslog]: https://hub.docker.com/r/wodby/rsyslog
[wodby/python]: https://github.com/wodby/python
[wodby/solr]: https://github.com/wodby/solr
[wodby/varnish]: https://github.com/wodby/varnish