deploy: add direct SSH deployment setup (nginx host + docker compose ports)

This commit is contained in:
Admin
2026-05-27 11:40:01 +05:00
parent 165ed30cb3
commit 4a4ddf5ac4
4 changed files with 89 additions and 13 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
services:
backend:
build: ./backend
expose:
- 3001
ports:
- "127.0.0.1:3001:3001"
env_file:
- .env
environment:
@@ -14,8 +14,8 @@ services:
context: ./frontend
args:
- VITE_API_URL=/api
expose:
- 80
ports:
- "127.0.0.1:8080:80"
depends_on:
- backend
restart: unless-stopped