-
-
Notifications
You must be signed in to change notification settings - Fork 985
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 845 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 845 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
# KanaDojo Docker Compose Configuration
# For local development and production
services:
# Development environment
app:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- '3000:3000'
environment:
- NODE_ENV=development
volumes:
- .:/app
- /app/node_modules
stdin_open: true
tty: true
restart: unless-stopped
# Production environment (uncomment for production)
# app:
# build:
# context: .
# dockerfile: Dockerfile
# ports:
# - "3000:3000"
# environment:
# - NODE_ENV=production
# restart: unless-stopped
# Optional: Visual regression testing
# storybook:
# build:
# context: .
# dockerfile: Dockerfile.storybook
# ports:
# - "6006:6006"
# volumes:
# - .:/app
# - /app/node_modules