forked from Screenly/Anthias
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
56 lines (52 loc) · 1.35 KB
/
docker-compose.dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: "3"
services:
screenly-server:
build:
context: .
dockerfile: docker/Dockerfile.server.dev
environment:
- PYTHONUNBUFFERED=1
- LISTEN=0.0.0.0
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULT_BACKEND=redis://redis:6379/0
image: screenly-ose-server
ports:
- 8080:8080
volumes:
- ./:/home/pi/screenly:ro
- screenly-volume:/home/pi/.screenly
- screenly-assets-volume:/home/pi/screenly_assets
screenly-websocket:
build:
context: .
dockerfile: docker/Dockerfile.websocket.dev
depends_on:
- screenly-server
image: screenly-ose-websocket
ports:
- 9999:9999
volumes:
- ./:/home/pi/screenly:ro
- screenly-assets-volume:/home/pi/screenly_assets
- screenly-volume:/home/pi/.screenly
screenly-celery:
build:
context: .
dockerfile: docker/Dockerfile.celery.dev
depends_on:
- redis
- screenly-server
environment:
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULT_BACKEND=redis://redis:6379/0
image: screenly-ose-celery
volumes:
- ./:/home/pi/screenly:ro
- screenly-assets-volume:/home/pi/screenly_assets
- screenly-volume:/home/pi/.screenly
redis:
image: redis:alpine
restart: always
volumes:
screenly-assets-volume:
screenly-volume: