-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 890 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (32 loc) · 890 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
services:
app:
build:
context: ./
target: development-build-stage
dockerfile: Dockerfile
env_file:
- ./.env
environment:
- NEXT_PUBLIC_HAWKBIT_API_URL=http://localhost:8080
ports:
- '3000:3000'
volumes:
- ./:/app
- /app/node_modules
hawkbit:
image: hawkbit/hawkbit-update-server:latest
ports:
- '8080:8080'
environment:
- 'SPRING_APPLICATION_JSON={
"hawkbit.server.security.cors.enabled": "true",
"hawkbit.server.security.cors.allowedOrigins": "http://localhost:3000",
"hawkbit.server.security.cors.allowedHeaders": "*",
"hawkbit.server.security.cors.allowedMethods": "GET,POST,PUT,DELETE,OPTIONS,HEAD",
"hawkbit.server.security.cors.allowCredentials": "true"
}'
volumes:
- artifactrepo:/artifactrepo
volumes:
artifactrepo:
driver: local