deploy: add direct SSH deployment setup (nginx host + docker compose ports)
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user