-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (48 loc) · 839 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (48 loc) · 839 Bytes
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
version: '2'
services:
nginx:
image: wlan1/robot-nginx
build:
context: ./nginx
depends_on:
- api
- ui
api:
image: wlan1/robot-api
build:
context: ./api
hostname: api
depends_on:
- db
- redis
env_file: .env
user: root
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/files:/tmp/files
db:
image: wlan1/robot-db
build:
context: ./api/db
read_only: true
hostname: db
tmpfs:
- /tmp
- /var/run/postgresql
volumes:
- database:/var/lib/postgresql/data
ui:
image: wlan1/robot-ui
build:
context: ./ui
hostname: ui
command: yarn start
redis:
image: redis:3.2.9-alpine
read_only: true
volumes:
- redis:/data
user: redis
volumes:
redis:
database: