-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (43 loc) · 888 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (43 loc) · 888 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
version: '3.4'
services:
api:
container_name: api
image: eu.gcr.io/otomi-cloud/otomi-api:${API_TAG:-main}
command: sh -c 'node dist/app.js'
user: ${USER_ID}:${GROUP_ID}
expose:
- 8080
ports:
- 8080:8080
volumes:
- $PWD/core.yaml:/etc/otomi/core.yaml
- tmp:/tmp
environment:
TOOLS_HOST: tools
GIT_LOCAL_PATH: /tmp/otomi-values
env_file:
- compose/.env
tools:
depends_on:
- api
container_name: tools
image: otomi/core:${TOOLS_TAG:-main}
user: ${USER_ID}:${GROUP_ID}
command: sh -c 'binzx/otomi server -vv'
expose:
- 17771
ports:
- 17771:17771
volumes:
- tmp:/tmp
environment:
ENV_DIR: /tmp/otomi-values
env_file:
- compose/.env
volumes:
tmp:
driver: local
driver_opts:
type: None
device: /tmp
o: bind