generated from PrivateAIM/typescript-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (45 loc) · 1.43 KB
/
docker-compose.yml
File metadata and controls
47 lines (45 loc) · 1.43 KB
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
services:
# nodeuidev:
# image: node-ui:latest
# container_name: nodeui-dev
# deploy:
# restart_policy:
# condition: on-failure
# delay: 5s
# max_attempts: 3
# window: 120s
# environment:
# NODE_ENV: "development"
# # The "NUXT_" prefix overrides the env variable set during build time (for prod only)
# NUXT_PUBLIC_BASE_URL: "http://localhost:3000" # URL of the website
# NUXT_PUBLIC_HUB_ADAPTER_URL: "http://localhost:5000"
# NUXT_OIDC_PROVIDERS_KEYCLOAK_BASE_URL: "http://localhost:8080/realms/flame"
# NUXT_OIDC_PROVIDERS_KEYCLOAK_CLIENT_ID: "node-ui"
# NUXT_OIDC_PROVIDERS_KEYCLOAK_CLIENT_SECRET: "xxx"
# ports:
# - '3000:3000'
# restart: always
nodeui:
image: nodeui:latest
container_name: nodeui-prod
deploy:
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
environment:
NODE_ENV: "production"
NUXT_PUBLIC_BASE_URL: "http://localhost:3000" # URL of the website
NUXT_PUBLIC_ORIGIN: "http://localhost:3000/flame/api/auth"
NUXT_PUBLIC_HUB_ADAPTER_URL: "http://localhost:3000/api"
NUXT_PUBLIC_KEYCLOAK_BASE_URL: "http://localhost:3000/keycloak/realms/flame"
NUXT_KEYCLOAK_CLIENT_ID: "node-ui"
NUXT_KEYCLOAK_CLIENT_SECRET: ""
NUXT_AUTH_SECRET: ""
ports:
- '3000:3000'
restart: always
networks:
flame:
driver: bridge