-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.local.yml
53 lines (49 loc) · 1.19 KB
/
docker-compose.local.yml
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
50
51
52
53
services:
frontend:
container_name: frontend_blog
build:
context: ./Frontend
dockerfile: Dockerfile
args:
VITE_API_URI: ${VITE_API_URI}
env_file:
- ./.env
environment:
VITE_API_URI: ${VITE_API_URI}
NODE_ENV: development
ports:
- "5173:5173"
depends_on:
- backend
networks:
- blog_network
backend:
container_name: backend_blog
build:
context: ./Backend
dockerfile: Dockerfile
env_file:
- ./.env
environment:
MYSQL_URI: ${MYSQL_URI}
CA_PATH: ${CA_PATH}
JWT_SECRET: ${JWT_SECRET}
NODE_ENV: production
EMAIL: ${EMAIL}
PASSWORD: ${PASSWORD}
VITE_URI_HOST: ${VITE_URI_HOST}
QDRANT_URL: ${QDRANT_URL}
QDRANT_API_KEY: ${QDRANT_API_KEY}
GOOGLE_SEARCH_ENGINE_ID: ${GOOGLE_SEARCH_ENGINE_ID}
GOOGLE_API_KEY: ${GOOGLE_API_KEY}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
AWS_REGION: ${AWS_REGION}
AWS_BUCKET_NAME: ${AWS_BUCKET_NAME}
ports:
- "9000:9000"
networks:
- blog_network
networks:
blog_network:
driver: bridge