mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-26 01:43:49 +01:00
22 lines
377 B
YAML
22 lines
377 B
YAML
---
|
|
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
|
|
|