mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 19:14:00 +03:00
22 lines
340 B
YAML
22 lines
340 B
YAML
|
version: "3.7"
|
||
|
|
||
|
services:
|
||
|
|
||
|
example:
|
||
|
build: .
|
||
|
environment:
|
||
|
REDIS_HOST: "redis"
|
||
|
REDIS_PASSWORD: "password"
|
||
|
ports:
|
||
|
- "8000:8000"
|
||
|
volumes:
|
||
|
- "./:/code"
|
||
|
depends_on:
|
||
|
- "redis"
|
||
|
|
||
|
redis:
|
||
|
image: redis
|
||
|
command: ["redis-server", "--requirepass", "password"]
|
||
|
ports:
|
||
|
- "6379:6379"
|