-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdev.yml
58 lines (57 loc) · 1.15 KB
/
dev.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
54
55
56
57
58
name: bounswe2024group1-451-dev
services:
s3mock:
profiles:
- dev
extends:
file: compose.yml
service: s3mock
swagger:
extends:
file: compose.yml
service: swagger
db:
extends:
file: compose.yml
service: db
volumes:
- db-data:/var/lib/mysql
backend:
build:
context: ./backend
dockerfile: ./Dockerfile.dev
platform: linux/amd64
volumes:
- ./backend:/app
ports:
- "8080:8080"
environment:
DB_HOST: db
DB_NAME: cuisines-test
DB_USER: root
DB_PASSWORD: admin
SPRING_PROFILES_ACTIVE: docker
DO_SPACES_ENDPOINT: "http://s3mock:9090"
DO_SPACES_ACCESS_KEY: "---"
DO_SPACES_SECRET_KEY: "---"
DO_SPACES_BUCKET: "programmingforum"
depends_on:
- db
web:
build:
context: ./frontend
dockerfile: ./Dockerfile.dev
environment:
- PROXY_API=http://backend:8080
ports:
- "5173:5173"
volumes:
- ./frontend/src:/app/src
develop:
watch:
- action: rebuild
path: ./frontend/package.json
volumes:
node_modules:
db-data:
s3mock-files: