-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
50 lines (44 loc) · 1.09 KB
/
compose.yml
File metadata and controls
50 lines (44 loc) · 1.09 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
48
49
50
# Bifrost Infra Compose Stack
x-logging: &default-logging
driver: "json-file"
options:
max-size: "25m"
max-file: "3"
x-healthcheck-defaults: &healthcheck-defaults
interval: 20s
timeout: 5s
retries: 5
start_period: 20s
x-dev-service: &dev-service
restart: unless-stopped
init: true
tty: true
logging: *default-logging
platform: ${DOCKER_PLATFORM:-linux/x86_64}
services:
igloo-web:
<<: *dev-service
build:
context: .
dockerfile: services/igloo-web/dockerfile
image: bifrost-infra-igloo-web:dev
container_name: bifrost-infra-igloo-web
hostname: igloo-web
working_dir: /app
environment:
VITE_IGLOO_SERVER_URL: ${VITE_IGLOO_SERVER_URL:-http://localhost:8002}
IGLOO_WEB_MODE: ${IGLOO_WEB_MODE:-dev}
IGLOO_WEB_INTERNAL_PORT: 5173
networks:
- infranet
ports:
- "${IGLOO_WEB_PORT:-5173}:5173"
volumes:
- ./repos/igloo-web:/app:rw
- ./logs/igloo-web:/app/logs:rw
- igloo-web-node-modules:/app/node_modules
networks:
infranet:
driver: bridge
volumes:
igloo-web-node-modules: {}