-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (53 loc) · 1.62 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
version: "3.7"
services:
prod:
build:
context: .
dockerfile: docker/web.Dockerfile
target: prod
environment:
PUBLIC_BASE_URL: http://localhost:5000
PUBLIC_DAR_ACCESS_ADDRESSES: "true"
PUBLIC_SHOW_ADMIN_PANEL: "true"
PUBLIC_SHOW_INSIGHTS: "true"
PUBLIC_AUDITLOG: "true"
# AAK Specific (true)
PUBLIC_OPTIONAL_TIME_PLANNING: "false"
# user_key of primary class ("primary" is used, if not set)
# PUBLIC_PRIMARY_CLASS_USER_KEY: "primary"
PUBLIC_SHOW_ROLEBINDINGS: "true"
PUBLIC_SEARCH_INFINITY: "false"
PUBLIC_SHOW_EXTENSION_1: "false"
PUBLIC_DOCS_LINK: "true"
PUBLIC_ONBOARDING_LINK: "true"
ports:
- 4173:3000 # prod - node
restart: on-failure
dev:
build:
context: .
dockerfile: docker/web.Dockerfile
target: dev
environment:
PUBLIC_BASE_URL: http://localhost:5001
PUBLIC_DAR_ACCESS_ADDRESSES: "true"
PUBLIC_SHOW_ADMIN_PANEL: "true"
PUBLIC_SHOW_INSIGHTS: "true"
PUBLIC_AUDITLOG: "true"
# AAK Specific (true)
PUBLIC_OPTIONAL_TIME_PLANNING: "false"
# user_key of primary class ("primary" is used, if not set)
# PUBLIC_PRIMARY_CLASS_USER_KEY: "primary"
PUBLIC_SHOW_ROLEBINDINGS: "true"
PUBLIC_SEARCH_INFINITY: "false"
PUBLIC_SHOW_EXTENSION_1: "false"
PUBLIC_DOCS_LINK: "true"
PUBLIC_ONBOARDING_LINK: "true"
ports:
- 5173:5173 # dev
- 24678:24678 # hot module reloading
volumes:
- ./web/src:/app/src
- ./web/.svelte-kit:/app/.svelte-kit
- /src/app/node_modules
restart: on-failure