add python demo example

This commit is contained in:
Muayyad alsadi
2022-05-10 02:28:17 +03:00
parent c175fd1b10
commit 75033a4ed7
6 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,21 @@
---
version: '3'
volumes:
redis:
services:
redis:
read_only: true
image: docker.io/redis:alpine
command: ["redis-server", "--appendonly", "yes", "--notify-keyspace-events", "Ex"]
volumes:
- redis:/data
web:
read_only: true
build:
context: .
image: hello-py-aioweb
ports:
- 8080:8080
environment:
REDIS_HOST: redis