-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
40 lines (38 loc) · 1.06 KB
/
docker-compose.yaml
File metadata and controls
40 lines (38 loc) · 1.06 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
services:
redis:
image: redis/redis-stack-server:7.4.0-v8
command: redis-server /etc/redis/redis.conf
network_mode: host
volumes:
- ./redis.conf:/etc/redis/redis.conf
backend:
image: denoland/deno:2.5.6
depends_on:
- redis
network_mode: host
working_dir: /app
environment:
- REDIS_HOST=127.0.0.1
- REDIS_USER=doplace
- REDIS_PASSWORD=to77eeBklb0fgA
- FRONTEND_ORIGIN=http://localhost:8002
- JWT_SECRET=NpKn6gLUMTfHt4hmHveDKRxibPK7fcP7
- HASH_SECRET=TZtwd9j3AsQtai44jSyNDzbmfC8XETkz
- ENABLE_HTTP_COMPRESSION=false
- PORT=8000
command: ["deno", "run", "dev"]
volumes:
- ./backend:/app
- ~/.cache/deno:/deno-dir # Speed up application start up by using the deno cache from the host
frontend:
image: oven/bun:1.3-debian
depends_on:
- backend
network_mode: host
working_dir: /app
environment:
- VITE_BACKEND_URL=http://localhost:8000/api/v1
- VITE_PORT=8002
command: ["bun", "run", "dev"]
volumes:
- ./frontend:/app