forked from vanchaxy/plexio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (39 loc) · 798 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (39 loc) · 798 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
services:
backend:
build:
dockerfile: local.Dockerfile
env_file:
.env
ports:
- "8000:8000"
volumes:
- ./plexio:/app/plexio
command: uvicorn plexio.main:app --host 0.0.0.0 --port 8000 --reload
depends_on:
- redis
frontend:
build:
context: frontend
dockerfile: local.Dockerfile
ports:
- "5173:5173"
volumes:
- ./frontend/src:/app/src
- ./frontend/public:/app/public
command: npm run dev
redis:
image: "redis:alpine"
ports:
- "6399:6379"
proxy:
image: nginx:alpine
volumes:
- type: bind
source: nginx-local.conf
target: /etc/nginx/conf.d/default.conf
read_only: true
ports:
- 80:80
depends_on:
- backend
- frontend