-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker-compose.yml
executable file
·59 lines (53 loc) · 1.09 KB
/
docker-compose.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
57
58
59
version: '3.3'
services:
nginx:
build:
context: ./docker/nginx
image: photoblog/nginx
depends_on:
- app
ports:
- 8080:8080
- 8081:8081
- 8082:8082
volumes:
- ./app/storage:/var/www/app/storage
restart: always
app:
build:
context: ./app
dockerfile: ${PWD}/docker/app/Dockerfile
image: photoblog/app
depends_on:
- prerender
- redis
volumes:
- ./app/storage:/var/www/app/storage
restart: always
app-queue:
build:
context: ./docker/app-queue
image: photoblog/app-queue
depends_on:
- app
volumes:
- ./app/storage:/var/www/app/storage
restart: always
app-scheduler:
build:
context: ./docker/app-scheduler
image: photoblog/app-scheduler
depends_on:
- app
volumes:
- ./app/storage:/var/www/app/storage
restart: always
prerender:
build:
context: ./prerender
dockerfile: ${PWD}/docker/prerender/Dockerfile
image: photoblog/prerender
restart: always
redis:
image: redis:4
restart: always