forked from trykimu/videoeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
49 lines (46 loc) · 1.18 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
49 lines (46 loc) · 1.18 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
version: "3.8"
services:
frontend:
build:
context: .
dockerfile: Dockerfile.frontend
args:
VITE_SUPABASE_URL: ${VITE_SUPABASE_URL}
VITE_SUPABASE_ANON_KEY: ${VITE_SUPABASE_ANON_KEY}
container_name: videoeditor-frontend
env_file:
- .env
environment:
# Development-specific overrides
PROD_DOMAIN: localhost
AUTH_BASE_URL: http://localhost:5173
AUTH_TRUSTED_ORIGINS: http://localhost:5173,http://127.0.0.1:5173
AUTH_COOKIE_DOMAIN: localhost
NODE_ENV: development
ports:
- "5173:5173"
depends_on:
- backend
backend:
build:
context: .
dockerfile: Dockerfile.backend
container_name: videoeditor-backend
env_file:
- .env
environment:
# Development-specific overrides
PROD_DOMAIN: localhost
AUTH_BASE_URL: http://localhost:5173
AUTH_TRUSTED_ORIGINS: http://localhost:5173,http://127.0.0.1:5173
AUTH_COOKIE_DOMAIN: localhost
NODE_ENV: development
ports:
- "8000:8000"
fastapi:
ports:
- "3000:3000"
build:
context: ./backend
dockerfile: Dockerfile
container_name: videoeditor-fastapi