-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (59 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
60
61
version: '3'
volumes:
db: {}
redis: {}
clamav: {}
services:
app:
build:
context: .
dockerfile: development.dockerfile
volumes:
- ./:/app
ports:
- 8081:80
restart: on-failure
worker:
build:
context: .
dockerfile: development.dockerfile
volumes:
- ./:/app
command: worker
restart: on-failure
scheduler:
build:
context: .
dockerfile: development.dockerfile
volumes:
- ./:/app
command: scheduler
restart: on-failure
ui:
image: node:alpine
volumes:
- ./ui:/app/ui
working_dir: /app/ui
ports:
- 8080:8080
command: sh -c "yarn && exec yarn serve --port 8080"
restart: on-failure
db:
image: postgres:13-alpine
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
volumes:
- db:/var/lib/postgresql/data
restart: on-failure
redis:
image: redis:alpine
volumes:
- redis:/data
restart: on-failure
clam:
image: stwon/docker-clamav
volumes:
- clamav:/data
restart: on-failure