mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-12 11:15:04 +02:00
20 lines
339 B
YAML
20 lines
339 B
YAML
worker:
|
|
image: vimagick/youtube-worker
|
|
links:
|
|
- redis
|
|
volumes:
|
|
- data:/data
|
|
environment:
|
|
- DATABASE=1
|
|
- PASSWORD=secret-passwd
|
|
- FORMAT=worst
|
|
- OUTTMPL=%(id)s.%(ext)s
|
|
restart: always
|
|
|
|
redis:
|
|
image: redis
|
|
command: redis-server --requirepass 'secret-passwd'
|
|
ports:
|
|
- "6379:6379"
|
|
restart: always
|