-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorb.yml
40 lines (37 loc) · 783 Bytes
/
orb.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
version: "1"
services:
frontend:
name: portfolio-frontend
runtime: node:18
workdir: /app
command: npm run dev
ports:
- "3000:3000"
environment:
- NODE_ENV=development
- TAILSCALE_AUTHKEY=${TAILSCALE_AUTHKEY}
volumes:
- ./frontend:/app
- node_modules:/app/node_modules
networks:
- tailscale
backend:
name: portfolio-backend
runtime: eclipse-temurin:17
workdir: /app
command: ./gradlew bootRun
ports:
- "8080:8080"
environment:
- SPRING_PROFILES_ACTIVE=dev
- TAILSCALE_AUTHKEY=${TAILSCALE_AUTHKEY}
volumes:
- ./backend:/app
- gradle-cache:/root/.gradle
networks:
- tailscale
volumes:
node_modules:
networks:
tailscale:
external: true