Skip to content

Commit af1d6f1

Browse files
committed
Adding docker compose for development
1 parent d13bdc9 commit af1d6f1

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

docker-compose.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
services:
2+
quant-ux-backend:
3+
build:
4+
context: .
5+
dockerfile: Dockerfile.local
6+
container_name: quant-ux-backend-dev
7+
volumes:
8+
- ./src:/app/src
9+
- ./pom.xml:/app/pom.xml
10+
- ./matc.conf:/app/matc.conf
11+
- ./target:/app/target
12+
- maven-cache:/root/.m2
13+
- ./test:/test
14+
- ./logs:/logs
15+
ports:
16+
- "8082:8082"
17+
environment:
18+
QUX_IMAGE_FOLDER_USER: /test/qux-images
19+
QUX_IMAGE_FOLDER_APPS: /test/qux-image-apps
20+
env_file:
21+
- .env
22+
develop:
23+
watch:
24+
- action: sync
25+
path: ./src
26+
target: /app/src
27+
- action: sync
28+
path: ./pom.xml
29+
target: /app/pom.xml
30+
- action: sync
31+
path: ./matc.conf
32+
target: /app/matc.conf
33+
34+
volumes:
35+
maven-cache:

0 commit comments

Comments
 (0)