-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (53 loc) · 1.24 KB
/
docker-compose.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
59
60
61
62
version: "3.9"
networks:
dev_network:
services:
jungmhaDB:
container_name: jungmha-postgres
image: postgres:15-alpine
restart: unless-stopped
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: sql@min
volumes:
- ./src/main/resources/db/migration:/docker-entrypoint-initdb.d/
networks:
- dev_network
jungmha-native-image:
container_name: jungmha-native-image
image: ghcr.io/graalvm/graalvm-community:17.0.9
restart: unless-stopped
ports:
- "8081:8080"
volumes:
- .:/app/source-code
working_dir: /app/source-code
command:
- sh
- -c
- |
chmod +x run_native-image.sh; ./run_native-image.sh
networks:
- dev_network
jungmha-jvm-app:
container_name: jungmha-jvm-app
image: amazoncorretto:17
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- .:/app/source-code
working_dir: /app/source-code
command:
- sh
- -c
- |
chmod +x run_jvm.sh; ./run_jvm.sh
networks:
- dev_network
cloudflared-tunnel:
container_name: cloudflared-tunnel
image: cloudflare/cloudflared:latest
restart: unless-stopped
command: tunnel --no-autoupdate run --token