-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (32 loc) · 913 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (32 loc) · 913 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
version: "3.8"
# Named volumes for data persistence
volumes:
data_volume:
frontend_node_modules:
services:
backend:
build:
context: .
dockerfile: uix/backend/Dockerfile
ports:
- "6050:5000" # host:container
env_file:
- .env
volumes:
- ./:/app # mount your entire project (so artwork_generator/, sweep/, etc. are available)
- /Users/habiburrahman/Documents/conure_data:/workspace
- ~/.ssh:/root/.ssh:ro # Read-only mount of your host SSH config into the container
frontend:
build:
context: uix/frontend
dockerfile: Dockerfile
ports:
- "6001:5173" # host:container
environment:
VITE_BACKEND_PORT: "5000"
VITE_API_HOST: http://backend
volumes:
- ./uix/frontend:/app # mount your source
- frontend_node_modules:/app/node_modules
depends_on:
- backend