File tree Expand file tree Collapse file tree 2 files changed +2
-28
lines changed
Expand file tree Collapse file tree 2 files changed +2
-28
lines changed Original file line number Diff line number Diff line change 3535 password : ${{ secrets.RESEND_API_KEY }}
3636 subject : " Deployment Successful - ${{ github.repository }}"
3737 to : ${{ secrets.NOTIFICATION_EMAIL }}
38- 38+ from :
' "Deployments" < [email protected] > ' 3939 body : |
4040 Deployment successful for ${{ github.repository }}
4141
5555 password : ${{ secrets.RESEND_API_KEY }}
5656 subject : " Deployment Failed - ${{ github.repository }}"
5757 to : ${{ secrets.NOTIFICATION_EMAIL }}
58- 58+ from :
' "Deployments" < [email protected] > ' 5959 body : |
6060 Deployment failed for ${{ github.repository }}
6161
Original file line number Diff line number Diff line change 1- # Docker Compose file for multi-service app:
2- # - frontend: Next.js app (port 3000)
3- # - backend: Go API server (port 8080)
4- # - nginx: reverse proxy (ports 80/443)
5- # Volumes persist build artifacts and data. All services share 'app-network'.
6-
71services :
8- frontend :
9- build :
10- context : ./frontend
11- dockerfile : Dockerfile
12- env_file :
13- - ./frontend/.env
14- ports :
15- - " 3000:3000"
16- environment :
17- - NODE_ENV=production
18- depends_on :
19- - backend
20- volumes :
21- - nextjs_static:/app/.next
22- networks :
23- - app-network
24- restart : unless-stopped
25-
262 backend :
273 build :
284 context : ./backend
@@ -49,12 +25,10 @@ services:
4925 - /etc/letsencrypt:/etc/letsencrypt:ro
5026 depends_on :
5127 - backend
52- - frontend
5328 networks :
5429 - app-network
5530
5631volumes :
57- nextjs_static :
5832 go_data :
5933
6034networks :
You can’t perform that action at this time.
0 commit comments